.popup-container {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(10, 11, 16, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 5000;
}

.popup-card {
    width: min(460px, 100%);
    background: #232530;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    animation: popupIn 0.22s ease-out;
}

.popup-title {
    margin: 0;
    padding: 22px 24px 14px;
    font-family: "Urbanist", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #a73335;
    line-height: 1.2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.popup-body {
    padding: 18px 24px 10px;
}

.popup-content {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #d7dde8;
    white-space: pre-wrap;
}

.popup-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 24px 24px;
}

.popup-button {
    border: 0;
    border-radius: 24px;
    padding: 10px 18px;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.popup-confirm {
    background: #a73335;
    color: #fff;
    min-width: 110px;
}

.popup-confirm:hover {
    background: #c04142;
    transform: translateY(-2px);
}

.popup-confirm:active {
    transform: translateY(0);
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .popup-container {
        padding: 16px;
        align-items: flex-end;
    }

    .popup-card {
        width: 100%;
        border-radius: 18px 18px 14px 14px;
    }

    .popup-title {
        font-size: 1.25rem;
        padding: 20px 18px 12px;
    }

    .popup-body {
        padding: 16px 18px 8px;
    }

    .popup-buttons {
        padding: 16px 18px 20px;
    }

    .popup-confirm {
        width: 100%;
    }
}