/* Contact Popup Styles */

.contact-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-popup-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.contact-popup-overlay.active .contact-popup-container {
    transform: scale(1);
}

.contact-popup-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: transform 0.2s ease, background 0.2s ease;
    color: #1A3D43;
}

.contact-popup-close:hover {
    transform: scale(1.1);
    background: #f5f5f5;
}

.contact-popup-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Left Panel */
.contact-popup-left {
    background: #163136;
    color: #fff;
    padding: 40px;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-popup-left-content {
    position: relative;
    z-index: 10;
}

.contact-popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.contact-popup-desc {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-popup-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #F28C5F;
    color: #fff;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(242, 140, 95, 0.3);
    transition: background 0.2s ease, transform 0.2s ease;
    font-size: 0.95rem;
}

.contact-popup-cta-btn:hover {
    background: #FF9566;
    transform: translateY(-2px);
}

/* Contact Info */
.contact-popup-info {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-popup-info-label {
    font-size: 0.8rem;
    
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 12px;
}

.contact-popup-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.contact-popup-info-item:hover {
    color: #F28C5F;
}

.contact-popup-info-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Right Panel */
.contact-popup-right {
    padding: 40px;
    width: 60%;
    background: #fff;
}

.contact-popup-right-title {
    font-size: 1.1rem;
    color: #256262;
    margin: 0 0 24px;
}

.contact-popup-right-title .font-light {
    font-weight: 300;
}

.contact-popup-right-title .font-bold {
    font-weight: 700;
}

/* Steps List */
.contact-popup-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-popup-step-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.contact-popup-step-item:hover {
    background: #f8f9fa;
}

.contact-popup-step-item:hover .contact-popup-step-number {
    background: #F28C5F;
    color: #fff;
}

.contact-popup-step-item:hover .contact-popup-step-link {
    color: #F28C5F;
    text-decoration-color: #F28C5F;
}

.contact-popup-step-link-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.contact-popup-step-content {
    display: flex;
    align-items: center;
}

.contact-popup-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E0EBEB;
    color: #256262;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-popup-step-text {
    font-weight: 600;
    color: #1A3D43;
    font-size: 0.95rem;
}

.contact-popup-step-link {
    text-decoration: underline;
    text-decoration-color: rgba(26, 61, 67, 0.3);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-popup-step-time {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
    margin-left: 16px;
    white-space: nowrap;
}

/* Result Step */
.contact-popup-step-result {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(35, 65, 70, 0.1);
    position: relative;
}

.contact-popup-step-arrow {
    position: absolute;
    top: -10px;
    left: 24px;
    color: rgba(26, 61, 67, 0.3);
}

.contact-popup-mail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #E0EBEB;
    color: #163136;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
}

.contact-popup-mail-btn:hover {
    background: #D1E0E0;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-popup-card {
        flex-direction: column;
    }

    .contact-popup-left,
    .contact-popup-right {
        width: 100%;
    }

    .contact-popup-left {
        padding: 30px;
    }

    .contact-popup-right {
        padding: 30px;
    }

    .contact-popup-close {
        top: 8px;
        right: 8px;
    }

    .contact-popup-container {
        max-height: 90vh;
        overflow-y: auto;
    }
}
