* { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: system-ui, 'Segoe UI', sans-serif;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        .login-container {
            max-width: 450px;
            width: 100%;
            background: rgba(255,255,255,0.95);
            border-radius: 1.5rem;
            padding: 2rem;
            box-shadow: 0 20px 35px rgba(0,0,0,0.2);
        }
        h1 {
            color: #1e6b8f;
            margin-bottom: 0.5rem;
            font-size: 1.5rem;
            text-align: center;
        }
        .subtitle {
            text-align: center;
            color: #64748b;
            margin-bottom: 1.5rem;
            font-size: 0.85rem;
        }
        .role-selector {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
            background: #f1f5f9;
            border-radius: 3rem;
            padding: 0.3rem;
        }
        .role-btn {
            flex: 1;
            text-align: center;
            padding: 0.7rem;
            border-radius: 2rem;
            cursor: pointer;
            transition: 0.2s;
            font-weight: 500;
            border: none;
            background: transparent;
            font-size: 0.9rem;
        }
        .role-btn.active {
            background: #1e6b8f;
            color: white;
            box-shadow: 0 2px 8px rgba(30,107,143,0.3);
        }
        .form-group {
            margin-bottom: 1rem;
        }
        label {
            display: block;
            font-weight: 600;
            margin-bottom: 0.3rem;
            font-size: 0.85rem;
            color: #334155;
        }
        input {
            width: 100%;
            padding: 0.75rem;
            border-radius: 0.8rem;
            border: 1px solid #cbd5e1;
            font-size: 0.9rem;
            transition: 0.2s;
        }
        input:focus {
            outline: none;
            border-color: #1e6b8f;
            box-shadow: 0 0 0 3px rgba(30,107,143,0.1);
        }
        button[type="submit"] {
            width: 100%;
            background: #1e6b8f;
            color: white;
            border: none;
            padding: 0.75rem;
            border-radius: 2rem;
            font-size: 1rem;
            cursor: pointer;
            transition: 0.2s;
        }
        button[type="submit"]:hover {
            background: #0f4b6e;
            transform: translateY(-2px);
        }
        .error {
            background: #fee2e2;
            color: #991b1b;
            padding: 0.7rem;
            border-radius: 0.8rem;
            margin-bottom: 1rem;
            text-align: center;
            border-right: 4px solid #ef4444;
        }
        .info-text {
            font-size: 0.7rem;
            color: #64748b;
            text-align: center;
            margin-top: 1rem;
        }
        .back-link {
            text-align: center;
            margin-top: 1rem;
        }
        .back-link a {
            color: #1e6b8f;
            text-decoration: none;
            font-size: 0.8rem;
        }
/* Global dark mode fixes */
body.dark, body.dark * { transition: background-color .2s,color .2s,border-color .2s; }
body.dark .glass-card, body.dark .card, body.dark .feature-card, body.dark .contact-form, body.dark .info-item, body.dark .hero, body.dark .content-section { background: rgba(30,41,59,.92) !important; color: #f8fafc !important; border-color:#475569 !important; }
body.dark a, body.dark p, body.dark h1, body.dark h2, body.dark h3, body.dark h4, body.dark li, body.dark span, body.dark label { color:#f8fafc !important; }
