/* Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    /* hiệu ứng mờ nền */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease-in-out;
}

/* Hộp nội dung */
.popup-content {
    background: #fff;
    padding: 24px 28px;
    border-radius: 16px;
    width: 360px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.35s ease-out;
    position: relative;
}

/* Tiêu đề */
.popup-content h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

/* Input */
.popup-content input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border 0.2s;
}

.popup-content input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

/* Button */
.popup-content button {
    padding: 12px 20px;
    border: none;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s, background 0.3s;
}

.popup-content button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0056b3, #00408a);
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
