* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 50px 40px;
    max-width: 450px;
    width: 100%;
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h1 {
    color: #2d3748;
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 10px;
}

.login-header p {
    color: #718096;
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #fed7d7;
    color: #742a2a;
    border-left: 4px solid #f56565;
}

    .alert-success {
        padding: 12px 15px;
        border-radius: 8px;
        margin-bottom: 20px;
        background: #e6ffec;
        color: #1f7a3b;
        border-left: 4px solid #48bb78;
    }

    /* Primary login button: white by default, gradient on hover */
    .btn-login {
        display: block;
        box-sizing: border-box;
        background: white;
        color: #667eea;
        border: 2px solid #667eea;
        border-radius: 8px;
        padding: 14px;
        font-weight: 600;
        width: 100%;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.25s ease;
        margin-top: 10px;
        text-decoration: none;
        text-align: center;
    }

    .btn-login:hover {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(102, 126, 234, 0.25);
    }
.forgot-center { text-align: center; margin-top: 12px; }
.forgot-center .forgot-link { color: #667eea; font-weight: 600; text-decoration: none; }

/* Show password checkbox */
.show-password { margin-top: 8px; display: flex; align-items: center; gap: 8px; color: #667eea; font-weight: 600; }
.show-password input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; }