#guestContactModal.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1600;
    display: none;
}

#guestContactModal .modal-container {
    background: #fff;
    border-radius: 10px;
    width: calc(95vw - 10px);
    max-width: 500px;
    height: fit-content;
    max-height: calc(97svh - 10px);
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
    overflow: auto;
    box-sizing: border-box;
}

#guestContactModal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

#guestContactModal .modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #000;
}

#guestContactModal .modal-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

#guestContactModal .modal-advertisement-info {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#guestContactModal .modal-advertisement-info>* {
    margin: 0px;
}

#guestContactModal .modal-advertisement-info .adv-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 95%;
}


#guestContactModal .modal-body label {
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
    margin-top: 25px;
    color: #333;
    font-size: 14px;
}

#guestContactModal .modal-body input,
#guestContactModal .modal-body textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    margin-bottom: 1rem;
    transition: border 0.2s;
    height: 50px;
}

#guestContactModal #description {
    height: 250px;
}

#guestContactModal #guest_close {
    position: inherit;
    top: 90px;
    right: 370px;
    cursor: pointer;
}

#guestContactModal .modal-body input:focus,
#guestContactModal .modal-body textarea:focus {
    border-color: #007bff;
    outline: none;
}

#guestContactModal .modal-body .invalid-feedback {
    font-size: 12px;
    color: #ff0d00;
    margin-top: -0.75rem;
    margin-bottom: 0.5rem;
    display: block;
    opacity: 0;
}

#guestContactModal .modal-body button {
    background-color: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    transition: background-color 0.2s;
    margin-top: 30px;
}

#guestContactModal .modal-body button:hover {
    background-color: #006cdf;
    box-shadow: rgb(166, 229, 255) 0px 0px 2px 2px, rgb(0, 106, 255) 0px 0px 0px 2px !important;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}