﻿body {
    background: linear-gradient(135deg, #1d2b64, #f8cdda);
    font-family: "Segoe UI", Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-card {
    width: 380px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    padding: 30px;
    animation: fadeIn 0.6s ease-in-out;
    text-align: center;
}

/* Logo tròn trên form */
.logo-circle {
    width: 100px;
    height: 100px;
    background: #f0f0f0;
    border-radius: 50%;
    margin: -70px auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

    .logo-circle img {
        width: 90%;
        height: auto;
    }

h2 {
    color: #1d2b64;
    margin-bottom: 25px;
    font-weight: bold;
}

.form-control {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: border-color 0.3s;
}

    .form-control:focus {
        border-color: #1d2b64;
        box-shadow: 0 0 5px rgba(29, 43, 100, 0.3);
        outline: none;
    }

.btn-primary {
    background: #1d2b64;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    color: white;
    transition: background 0.3s;
}

    .btn-primary:hover {
        background: #162052;
    }

/* Animation mượt khi hiện form */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
