.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.login-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

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

.form-group input:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.7;
}

button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

button[type="submit"]:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

button[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* BIOMETRISCHE AUTHENTIFIZIERUNG STYLES */

.biometric-login-section {
    margin-bottom: 25px;
}

.biometric-login-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.biometric-login-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.biometric-login-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.biometric-login-button .material-icons {
    font-size: 24px;
}

.login-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
}

.login-divider span {
    background: white;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
    position: relative;
}

.biometric-setup-section {
    margin-top: 20px;
    text-align: center;
}

.biometric-setup-button {
    background: none;
    border: 2px solid #4CAF50;
    color: #4CAF50;
    cursor: pointer;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.biometric-setup-button:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-1px);
}

.biometric-setup-button .material-icons {
    font-size: 18px;
}

.biometric-setup-panel {
    margin-top: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: left;
}

.biometric-setup-panel p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.biometric-setup-actions {
    display: flex;
    gap: 10px;
}

.setup-confirm-button {
    flex: 1;
    padding: 10px 16px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.setup-confirm-button:hover:not(:disabled) {
    background: #45a049;
}

.setup-confirm-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.setup-cancel-button {
    flex: 1;
    padding: 10px 16px;
    background: none;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.setup-cancel-button:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.biometric-management {
    margin-top: 15px;
    text-align: center;
}

.biometric-remove-button {
    background: none;
    border: 1px solid #f44336;
    color: #f44336;
    cursor: pointer;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.biometric-remove-button:hover {
    background: #f44336;
    color: white;
}

.biometric-remove-button .material-icons {
    font-size: 16px;
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #155724;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.success-message::before {
    content: "✅";
    flex-shrink: 0;
}

.biometric-toggle {
    margin-top: 20px;
    text-align: center;
}

.toggle-button {
    background: none;
    border: none;
    color: #4a90e2;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

.toggle-button:hover {
    color: #357abd;
}

.error-message {
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #c33;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.error-message::before {
    content: "⚠️";
    flex-shrink: 0;
}

.warning-message {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #856404;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.warning-message::before {
    content: "⚡";
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .login-container {
        padding: 10px;
    }
    
    .login-form {
        padding: 30px 20px;
    }
    
    .login-form h2 {
        font-size: 24px;
    }

    .biometric-login-button {
        padding: 14px;
        font-size: 15px;
    }

    .biometric-setup-actions {
        flex-direction: column;
    }

    .biometric-setup-panel {
        padding: 15px;
    }
} 