﻿.popup-header {
    background: white;
    color: black; /* Hoặc có thể bỏ dòng này đi */
    padding: 20px;
    text-align: center;
    position: relative;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    overflow: hidden;
}


    .popup-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.1"/><circle cx="60" cy="80" r="1" fill="white" opacity="0.1"/></svg>');
        animation: float 6s ease-in-out infinite;
    }

.popup-title {
    font-size: 1.25rem; /* 20px */
    font-weight: bold;
    margin: 0;
    position: relative;
    z-index: 2;
}

.popup-form {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

    .form-input:focus {
        outline: none;
        border-color: #3b82f6;
        background: white;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    }

    .form-input::placeholder {
        color: #9ca3af;
    }

/* Radio Options */
.radio-group {
    margin: 20px 0;
}

    .radio-group h4 {
        font-size: 14px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 12px;
    }

.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 1rem; /* Giảm khoảng cách giữa các lựa chọn radio */
    cursor: pointer;
    color: #2d3748; /* Màu chữ mặc định */
    font-size: 0.95rem; /* Giảm kích thước chữ radio một chút */
}

    .radio-option:hover {
        background: #f3f4f6;
    }

    .radio-option input[type="radio"] {
        margin-right: 12px;
        width: 18px;
        height: 18px;
        accent-color: #3b82f6;
    }

    .radio-option label {
        font-size: 14px;
        color: #4b5563;
        cursor: pointer;
        flex: 1;
    }

/* Submit Button */
.submit-btn {
    width: 100%;
    max-width: 300px; /* Chiều rộng tối đa cho nút */
    padding: 0.9rem 1.25rem; /* Giảm padding nút */
    background-color: #3498db; /* Màu nền nút chính */
    color: white;
    font-weight: 700; /* Nút in đậm */
    border: none;
    border-radius: 0.75rem; /* Bo góc nút */
    cursor: pointer;
    font-size: 1rem; /* Giảm kích thước chữ nút một chút */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Hiệu ứng chuyển động */
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3); /* Bóng đổ nút */
    display: block; /* Đảm bảo nút chiếm toàn bộ chiều rộng và có thể căn giữa */
    margin: 1.5rem auto 0 auto; /* Giảm khoảng cách trên nút dưới 2 cột */
}

    .submit-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.6s ease;
    }

    .submit-btn:hover::before {
        width: 300px;
        height: 300px;
    }

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    }

    .submit-btn span {
        position: relative;
        z-index: 1;
    }

/* Toggle Button */
.toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

    .toggle-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5);
    }

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .toggle-btn {
        width: 50px;
        height: 50px;
        right: 20px;
        bottom: 20px;
        font-size: 20px;
    }
}
