* { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Inter', sans-serif;
            background: #f8fafc;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .login-container {
            max-width: 420px;
            width: 100%;
            background: white;
            border-radius: 48px;
            padding: 40px 32px 32px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.06);
            border: 1px solid #f0f2f5;
        }
        .logo {
            text-align: center;
            font-weight: 700;
            font-size: 1.8rem;
            margin-bottom: 8px;
        }
        .logo span { color: #2563eb; }
        .subtitle {
            text-align: center;
            color: #64748b;
            font-size: 0.95rem;
            margin-bottom: 28px;
        }
        .role-toggle {
            display: flex;
            background: #f1f5f9;
            border-radius: 60px;
            padding: 4px;
            margin-bottom: 24px;
        }
        .role-toggle button {
            flex: 1;
            border: none;
            background: transparent;
            padding: 12px 0;
            border-radius: 60px;
            font-weight: 600;
            font-size: 0.9rem;
            color: #64748b;
            cursor: pointer;
            transition: 0.2s;
        }
        .role-toggle button.active {
            background: white;
            box-shadow: 0 4px 8px rgba(0,0,0,0.04);
            color: #0f172a;
        }
        .form-group {
            margin-bottom: 18px;
        }
        .form-group label {
            display: block;
            font-weight: 500;
            font-size: 0.85rem;
            margin-bottom: 4px;
            color: #1e293b;
        }
        .form-group input {
            width: 100%;
            padding: 14px 18px;
            border: 1px solid #e2e8f0;
            border-radius: 32px;
            font-family: 'Inter', sans-serif;
            font-size: 0.95rem;
            background: #fefcf7;
            transition: 0.2s;
        }
        .form-group input:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
            background: white;
        }
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 16px 0 24px;
            font-size: 0.85rem;
        }
        .form-options label {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #475569;
            cursor: pointer;
        }
        .form-options a {
            color: #2563eb;
            text-decoration: none;
            font-weight: 500;
        }
        .btn-primary {
            width: 100%;
            padding: 14px;
            background: #2563eb;
            color: white;
            border: none;
            border-radius: 60px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: 0.2s;
        }
        .btn-primary:hover {
            background: #1d4ed8;
            transform: translateY(-2px);
        }
        .error-msg {
            color: #ef4444;
            background: #fee2e2;
            padding: 10px 16px;
            border-radius: 28px;
            font-size: 0.85rem;
            margin-bottom: 16px;
            text-align: center;
        }
        .success-msg {
            color: #065f46;
            background: #d1fae5;
            padding: 10px 16px;
            border-radius: 28px;
            font-size: 0.85rem;
            margin-bottom: 16px;
            text-align: center;
        }
        .register-link {
            text-align: center;
            margin-top: 20px;
            color: #64748b;
            font-size: 0.9rem;
        }
        .register-link a {
            color: #2563eb;
            font-weight: 600;
            text-decoration: none;
        }