﻿.btn-reset {
    background: #eef2f6;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 60px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #1f3a5f;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

    .btn-reset:hover {
        background: #dce3ec;
    }

    .btn-reset:active {
        transform: scale(0.96);
    }

/* ── overlay / popup ── */
.popup-overlay {
    position: relative;
    display:none;
    visibility:hidden;
}

    .popup-overlay.open {
        opacity: 1;
        visibility: visible;
        display:block;
    }

.popup-card {
    background: white;
    max-width: 480px;
    width: 100%;
    padding: 36px 20px 16px 16px;
    border-radius: 2rem;
    box-shadow: 0 40px 70px -20px rgba(0, 0, 0, 0.5);
    transform: scale(0.94) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.2s ease;
    opacity: 0;
    position: fixed;
    right:120px;
    bottom:15px;
    z-index:11;
    display:flex;
}

.popup-overlay.open .popup-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.popup-card h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #0b1a33;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
}

    .popup-card h2 span {
        font-size: 1.8rem;
    }

.popup-card p {
    color: #2d4a6b;
    line-height: 1.6;
    margin: 0.25rem 0 1.5rem;
    font-size: 1rem;
}

.popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.5rem;
}

    .popup-actions button {
        border: none;
        padding: 0.65rem 1.8rem;
        border-radius: 60px;
        font-weight: 500;
        font-size: 0.95rem;
        cursor: pointer;
        transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
        background: #eef2f6;
        color: #1f3a5f;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    }

        .popup-actions button:hover {
            background: #dce3ec;
        }

        .popup-actions button:active {
            transform: scale(0.96);
        }

    .popup-actions .btn-primary {
        background: #1f3a5f;
        color: white;
        box-shadow: 0 4px 10px rgba(26, 67, 113, 0.25);
    }

        .popup-actions .btn-primary:hover {
            background: #142b47;
            box-shadow: 0 6px 14px rgba(26, 67, 113, 0.3);
        }

/* small close "X" in corner */
.close-icon {
    position: absolute;
    top: 0.8rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #7a8fa6;
    padding: 0.2rem 0.4rem;
    border-radius: 40px;
    transition: background 0.15s, color 0.15s;
}

    .close-icon:hover {
        background: #f0f4fa;
        color: #1f3a5f;
    }

    .close-icon:active {
        transform: scale(0.9);
    }

/* small helper text */
.status-hint {
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: #6b85a0;
    background: #f0f4fa;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    display: inline-block;
}
.iconLeft {
    width: 100px;
    color: red;
    background-color: #f1f1f1;
    height:100px;
    text-align:center;
    border-radius:50%;
    padding:10px;
}
.iconRight{
    width:calc(100% - 101px);
    padding: 4px 8px 4px 20px;
}
.iconText{
    padding-left:5px;
}
/* responsive */
@media (max-width: 480px) {
    .popup-card {
        padding: 1.5rem 1.25rem;
    }

    .popup-actions button {
        width: 100%;
    }
}
