* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('../images/dai-hoc-cong-nghe-sai-gon-1.webp');
    background-size: cover;      
    background-position: center;  
    background-repeat: no-repeat; 
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.login-card {
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(8px); 
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2); 
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.login-header { text-align: center; margin-bottom: 30px; }
.logo { height: 70px; margin-bottom: 15px; } 
.login-header h2 { color: #1e293b; font-size: 24px; font-weight: 700; margin-bottom: 5px; }
.login-header p { color: #64748b; font-size: 13px; font-weight: 500; }

.error-box {
    background-color: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: #334155; font-weight: 600; font-size: 14px; }

.input-wrapper { position: relative; }
.input-wrapper .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 14px;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 36px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
    background-color: #fff;
}

.input-wrapper input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.input-wrapper input:focus + .icon { color: #2563eb; }

.btn-login {
    width: 100%;
    padding: 12px;
    background-color: #2563eb; 
    color: white;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.btn-login:hover { 
    background-color: #1d4ed8; 
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
}