/* Schedule a Visit Modal Styles */
.schedule-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 20, 25, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
    box-sizing: border-box;
}

.schedule-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.schedule-modal-container {
    background: #1c2129;
    background: linear-gradient(145deg, #1f252e, #161a20);
    border: 1px solid rgba(238, 52, 37, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(238, 52, 37, 0.2);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
}

.schedule-modal-overlay.active .schedule-modal-container {
    transform: scale(1) translateY(0);
}

.schedule-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

.schedule-modal-close:hover {
    background: #ee3425;
    border-color: #ee3425;
    transform: rotate(90deg);
}

.schedule-modal-header {
    padding: 28px 28px 16px 28px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-modal-header h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.schedule-modal-header h3 span {
    color: #ee3425;
}

.schedule-modal-header p {
    margin: 0;
    font-size: 13px;
    color: #a0aec0;
    line-height: 1.5;
}

.schedule-modal-body {
    padding: 22px 28px 28px 28px;
}

.schedule-modal-form .form-group {
    margin-bottom: 14px;
}

.schedule-modal-form label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    color: #cbd5e0;
    margin-bottom: 5px;
}

.schedule-modal-form input,
.schedule-modal-form select,
.schedule-modal-form textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #ffffff;
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.schedule-modal-form input:focus,
.schedule-modal-form select:focus,
.schedule-modal-form textarea:focus {
    outline: none;
    border-color: #ee3425;
    background: rgba(238, 52, 37, 0.06);
    box-shadow: 0 0 0 3px rgba(238, 52, 37, 0.25);
}

.schedule-modal-form select option {
    background: #1c2129;
    color: #ffffff;
}

.schedule-modal-form textarea {
    resize: vertical;
    min-height: 65px;
}

.schedule-modal-row {
    display: flex;
    gap: 12px;
}

.schedule-modal-col {
    flex: 1;
}

.schedule-modal-btn {
    width: 100%;
    padding: 13px 20px;
    background: #ee3425;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 8px;
    box-shadow: 0 4px 15px rgba(238, 52, 37, 0.4);
}

.schedule-modal-btn:hover {
    background: #d62b1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 52, 37, 0.6);
}

.schedule-modal-success {
    display: none;
    text-align: center;
    padding: 30px 15px;
}

.schedule-modal-success i {
    font-size: 48px;
    color: #ee3425;
    margin-bottom: 14px;
}

.schedule-modal-success h4 {
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.schedule-modal-success p {
    color: #a0aec0;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 576px) {
    .schedule-modal-container {
        border-radius: 12px;
    }
    .schedule-modal-header {
        padding: 20px 20px 12px 20px;
    }
    .schedule-modal-body {
        padding: 16px 20px 20px 20px;
    }
    .schedule-modal-row {
        flex-direction: column;
        gap: 0;
    }
}
