/* Plans Enquiry Popup Styles */
:root {
    --plans-primary: #072A30;
    --plans-accent: #B8C1C1;
    --plans-white: #FFFFFF;
}

.plans-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 42, 48, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.plans-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.plans-modal {
    background: var(--plans-white);
    width: 90%;
    max-width: 480px;
    border-radius: 40px;
    padding: 50px;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
}

.plans-modal-overlay.active .plans-modal {
    transform: translateY(0) scale(1);
}

.plans-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #F0F4F4;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--plans-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.plans-modal-close:hover {
    background: var(--plans-primary);
    color: var(--plans-white);
    transform: rotate(90deg);
}

.plans-modal-header {
    text-align: center;
    margin-bottom: 35px;
}

.plans-modal-header h2 {
    font-size: 28px;
    color: var(--plans-primary);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.plans-modal-header p {
    color: #6A7A7A;
    font-size: 16px;
    line-height: 1.5;
}

.plans-form-group {
    margin-bottom: 24px;
}

.plans-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--plans-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plans-input,
.plans-select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #EDF2F2;
    border-radius: 16px;
    font-family: inherit;
    font-size: 16px;
    color: var(--plans-primary);
    transition: all 0.3s ease;
    background: #F8FAFA;
}

.plans-input:focus,
.plans-select:focus {
    outline: none;
    border-color: var(--plans-primary);
    background: #fff;
    box-shadow: 0 0 0 5px rgba(7, 42, 48, 0.05);
}

.plans-submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--plans-primary);
    color: var(--plans-white);
    border: none;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 10px;
}

.plans-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(7, 42, 48, 0.2);
}

.plans-submit-btn:active {
    transform: translateY(0);
}

.plans-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ── Mobile Responsiveness ── */

@media (max-width: 768px) {
    .plans-modal-overlay {
        padding: 12px;
        align-items: center;
    }

    .plans-modal {
        width: 92%;
        max-width: 380px;
        max-height: 85vh;
        max-height: 85dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 28px 20px 20px;
        border-radius: 24px;
    }

    .plans-modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .plans-modal-header {
        margin-bottom: 14px;
    }

    .plans-modal-header h2 {
        font-size: 19px;
        margin-bottom: 4px;
        line-height: 1.25;
    }

    .plans-modal-header p {
        font-size: 13px;
        line-height: 1.4;
    }

    .plans-form-group {
        margin-bottom: 10px;
    }

    .plans-form-group label {
        font-size: 11px;
        margin-bottom: 4px;
        letter-spacing: 0.5px;
    }

    .plans-input,
    .plans-select {
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 16px;
        border-width: 1.5px;
    }

    .plans-submit-btn {
        padding: 12px;
        font-size: 15px;
        border-radius: 12px;
        margin-top: 4px;
    }
}

@media (max-width: 380px) {
    .plans-modal {
        width: 94%;
        padding: 22px 16px 16px;
        border-radius: 20px;
    }

    .plans-modal-header {
        margin-bottom: 10px;
    }

    .plans-modal-header h2 {
        font-size: 17px;
    }

    .plans-modal-header p {
        font-size: 12px;
    }

    .plans-form-group {
        margin-bottom: 8px;
    }

    .plans-form-group label {
        font-size: 10px;
        margin-bottom: 3px;
    }

    .plans-input,
    .plans-select {
        padding: 8px 10px;
        border-radius: 8px;
    }

    .plans-submit-btn {
        padding: 10px;
        font-size: 14px;
        border-radius: 10px;
        margin-top: 2px;
    }
}