.login-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e3f2fd;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 15px;
}

.login-box {
    width: 100%;
    max-width: 420px;
    background: var(--light-card);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--light-border);
    position: relative;
}

.login-header {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 25px 20px;
    position: relative;
}

.login-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.login-header h1 i {
    margin-right: 10px;
    font-size: 28px;
}

.login-header p {
    font-size: 14px;
    opacity: 0.95;
    font-weight: 500;
}

.class-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.login-form-container {
    padding: 25px 20px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 2px solid var(--light-border);
    border-radius: 10px;
    font-size: 15px;
    background: #f8fafc;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 40px;
    color: var(--primary-color);
    font-size: 16px;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.login-btn:hover {
    background: var(--primary-dark);
}

.error-message {
    color: var(--error-color);
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.error-message i {
    margin-right: 5px;
}

.login-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 13px;
    color: #6b7280;
    border-top: 1px solid var(--light-border);
    background: #f8fafc;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.login-success-message {
    background: var(--success-color);
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
    font-weight: 500;
}

.login-success-message i {
    margin-right: 6px;
}

.login-system-info {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 12px;
    color: #6b7280;
    padding-top: 12px;
    border-top: 1px solid var(--light-border);
}

.login-date-display {
    font-weight: 500;
    color: var(--primary-color);
}

@media (max-width: 480px) {
    .login-header h1 {
        font-size: 20px;
    }
    
    .login-header p {
        font-size: 13px;
    }
    
    .input-group input {
        padding: 12px 14px 12px 40px;
    }
    
    .login-form-container {
        padding: 20px 15px;
    }
    
    .login-footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}