﻿
body {
    background: #4a7eb7;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
}

.login-container {
    position: relative;
    width: 380px;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
    padding: 2.5rem 2rem;
}

.header-section {
    background: #173b57;
    color: #fff;
    text-align: center;
    border-radius: 1rem 1rem 0 0;
    padding: 1rem;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    margin: 24px auto 0 auto;
    margin-top: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #173b57;
}

.form-control:focus {
    box-shadow: none;
    border-color: transparent;
}

.btn-login {
    background: linear-gradient(90deg, #ff5c33 0%, #ff9933 100%);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    transition: background 0.3s, box-shadow 0.3s, filter 0.3s;
    box-shadow: 0 2px 8px rgba(255, 92, 51, 0.10);
}

.btn-login:hover, .btn-login:focus {
    background: linear-gradient(90deg, #ffd966 0%, #ff5c33 100%);
    filter: brightness(1.15) saturate(1.2);
    box-shadow: 0 4px 16px rgba(255, 92, 51, 0.25);
    outline: none;
}

.form-text a {
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
}

    .form-text a:hover {
        text-decoration: underline;
    }

.input-group {
    border: 1.5px solid #dee2e6;
    border-radius: 0.375rem;
    background: #f2f6ff;
    transition: border-color 0.2s;
}

    .input-group:focus-within {
        border-color: #ff5c33;
        box-shadow: 0 0 0 0.1rem rgba(255,92,51,0.15);
    }

    .input-group .form-control,
    .input-group .input-group-text {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

.avatar-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlap-avatar {
    margin-right: -120px; /* Điều chỉnh giá trị này để thay đổi mức độ đè */
    z-index: 2;
    position: relative;
}

@media (max-width: 576px) {
    .login-container {
        width: 100%;
        max-width: 95vw;
        margin: 0 auto;
        padding-left: 4vw;
        padding-right: 4vw;
        box-sizing: border-box;
    }
}

