/* Ẩn các phần tử theo mặc định */
.hidden {
    display: none;
}

/* Thông báo */
.notification {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: #4e9ff0;
    color: white;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-family: Arial, sans-serif;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    padding: 30px;
    width: 300px;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Nội dung của Popup */
.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tieude-login {
    padding-top: 20px;
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

/* Nút đóng Popup */
.close {
    cursor: pointer;
    font-size: 20px;
    color: #888;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: color 0.2s;
}

.close:hover {
    color: #ff0000;
}

/* Form Đăng Nhập */
form label {
    display: block;
    margin: 10px 0 5px;
    font-size: 14px;
    color: #555;
}

form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

form input:focus {
    border-color: #4e9ff0;
}

/* Nút Gửi */
form button[type="submit"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    color: white;
    background-color: #4e9ff0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

form button[type="submit"]:hover {
    background-color: #3c8bd4;
}

/* Nút Khách */
#guest-btn {
    margin-top: 10px;
    color: #2a83ff;
    background-color: white;
    border: 1px solid #2a83ff;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

#guest-btn:hover {
    background-color: #2a83ff;
    color: white;
}

/* Thông tin người dùng */
.user-info {
    font-size: 14px;
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    z-index: 1001;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}