﻿* {
    padding: 0;
    margin: 0;
}
 
body {  
    font-family: "Segoe UI", sans-serif;
}

.login-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    background: rgb(255 255 255);
    -webkit-backdrop-filter: blur(6px);
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    width: 400px;
    max-width: 95%;
    text-align: center;
}

    .login-box img {
        width: 120px; /* to hơn */
        height: 120px;
        object-fit: cover; /* giữ tỉ lệ hình tròn */
        border-radius: 50%; /* bo tròn */
        margin-bottom: 15px;
        border: 4px solid rgba(255, 255, 255, 0.6); /* viền sáng mờ */
        box-shadow: 0 0 25px rgba(30, 144, 255, 0.7), 0 0 40px rgba(18, 216, 250, 0.5); /* ánh sáng xanh dương */
        transition: all 0.3s ease;
    }

        .login-box img:hover {
            transform: scale(1.05); /* phóng to nhẹ khi hover */
            box-shadow: 0 0 35px rgba(30, 144, 255, 0.9), 0 0 60px rgba(18, 216, 250, 0.7);
        }

    .login-box h3 {
        margin-bottom: 25px;
        font-weight: 700;
        font-size: 22px;
        background: linear-gradient(45deg, #3a91ac, #12d8fa, #3a91ac);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text; /* cho Firefox */
        text-fill-color: transparent;
    }

.form-control {
    border-radius: 25px; /* bo góc đồng điệu */
    border: 1px solid #ddd;
    height: 42px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    box-shadow: none; /* bỏ shadow mặc định */
    text-align:center
}

    .form-control:focus {
        border-color: #36d1dc; /* viền xanh ngọc nhẹ */
        box-shadow: 0 0 8px rgba(54, 209, 220, 0.4);
        outline: none;
    }

.btn-login {
    background: linear-gradient(135deg, #3a91ac, #12d8fa, #3a91ac);
    border: none;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 25px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(30, 144, 255, 0.6);
    }

.remember {
    text-align: left;
    margin-bottom: 15px;
}

.login-message {
    margin-top: 20px; /* tạo khoảng cách với nút */
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #b71c1c; /* đỏ sang trọng */
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.2);
    display: inline-block;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

    .login-message i {
        margin-right: 6px;
        color: #e53935;
    }

.chat-fixed {
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

/* hiệu ứng rung nhẹ */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

.chat-icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite; /* rung nhè nhẹ */
}

    .chat-icon img {
        width: 70%;
        height: auto;
        object-fit: contain;
    }

    /* text tooltip */
    .chat-icon::after {
        content: "Liên hệ ngay";
        position: absolute;
        right: 70px;
        background: #333;
        color: #fff;
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 14px;
        white-space: nowrap;
        opacity: 0;
        transform: translateX(10px);
        transition: all 0.3s ease;
        pointer-events: none;
    }

    /* hover hiệu ứng */
    .chat-icon:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
        animation: none; /* dừng rung khi hover */
    }

        .chat-icon:hover::after {
            opacity: 1;
            transform: translateX(0);
        } 