
/* ==========================================
   HARA DIAGNOSTICS - COMMON FORM POPUP
========================================== */

.hara-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    background: rgba(3, 26, 58, 0.68);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hara-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hara-popup-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: 42px 32px 35px;

    background: #ffffff;
    border-radius: 20px;
    text-align: center;

    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.22);

    transform: translateY(25px) scale(0.96);
    transition: transform 0.35s ease;
}

.hara-popup-overlay.active .hara-popup-card {
    transform: translateY(0) scale(1);
}

/* Close Icon */

.hara-popup-close-icon {
    position: absolute;
    top: 15px;
    right: 17px;

    width: 34px;
    height: 34px;

    border: none;
    border-radius: 50%;

    background: #f1f4f8;
    color: #667085;

    font-size: 22px;
    cursor: pointer;
    transition: 0.25s;
}

.hara-popup-close-icon:hover {
    background: #e5ebf3;
    color: #06285a;
}

/* Status Icon */

.hara-popup-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    font-size: 42px;
    font-weight: 700;
}

.hara-popup-icon.success {
    color: #269b50;
    background: #e9f8ee;
    border: 2px solid #b8e8c7;
}

.hara-popup-icon.error {
    color: #dc3545;
    background: #fff0f0;
    border: 2px solid #ffd0d0;
}

/* Popup Content */

.hara-popup-title {
    margin: 0 0 12px;

    color: #06285a;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.3;
}

.hara-popup-description {
    margin: 0 0 27px;

    color: #667085;
    font-size: 15px;
    line-height: 1.8;
}

/* Button */

.hara-popup-button {
    min-width: 150px;
    padding: 13px 28px;

    border: none;
    border-radius: 8px;

    background: #0d4d91;
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.3s ease;
}

.hara-popup-button:hover {
    background: #06285a;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(13, 77, 145, 0.2);
}

/* Mobile Responsive */

@media (max-width: 480px) {

    .hara-popup-overlay {
        padding: 16px;
    }

    .hara-popup-card {
        padding: 38px 22px 28px;
        border-radius: 16px;
    }

    .hara-popup-icon {
        width: 72px;
        height: 72px;
        font-size: 36px;
    }

    .hara-popup-title {
        font-size: 23px;
    }

    .hara-popup-description {
        font-size: 14px;
    }

}
