:root {
            --primary: #4f46e5;
            --primary-dark: #3730a3;
            --dark: #1f2937;
            --gray: #6b7280;
            --border: #e5e7eb;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }
        
        .login-container {
            background: white;
            padding: 2.5rem;
            border-radius: 8px;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 380px;
        }
        
        .login-header {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .login-header i {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 0.75rem;
            display: block;
        }
        
        .login-header h1 {
            font-size: 1.5rem;
            color: var(--dark);
            font-weight: 700;
            margin-bottom: 0.25rem;
        }
        
        .login-header p {
            color: var(--gray);
            font-size: 13px;
        }
        
        form {
            display: flex;
            flex-direction: column;
        }
        
        .form-group {
            margin-bottom: 1.25rem;
        }
        
        label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--dark);
            font-weight: 500;
            font-size: 13px;
        }
        
        input[type="text"],
        input[type="password"] {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: 4px;
            font-size: 14px;
            transition: all 0.2s;
            background: #f9fafb;
        }
        
        input[type="text"]:focus,
        input[type="password"]:focus {
            outline: none;
            background: white;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
        }
        
        button {
            padding: 0.75rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        
        button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
        }
        
        button:active {
            transform: translateY(0);
        }
        
        .messages {
            margin-bottom: 1.5rem;
        }
        
        .message {
            padding: 0.75rem;
            border-radius: 4px;
            margin-bottom: 0.75rem;
            font-size: 13px;
            border-left: 4px solid;
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
        }
        
        .message.error {
            background: #fef2f2;
            color: #991b1b;
            border-left-color: #ef4444;
        }
        
        .message.success {
            background: #f0fdf4;
            color: #166534;
            border-left-color: #10b981;
        }
        
        .message i {
            margin-top: 2px;
            flex-shrink: 0;
        }

        @media (max-width: 480px) {
            body {
                align-items: flex-start;
                padding: 1rem 0.65rem;
            }

            .login-container {
                padding: 1.2rem;
                max-width: 100%;
            }
        }

/* Converted inline style attributes */
.auto-style-1 {text-align:right; margin-bottom:0.5rem;}
.auto-style-2 {border:1px solid #e5e7eb; border-radius:6px; padding:0.2rem 0.35rem; font-size:12px;}
.auto-style-3 {margin-top: 1.5rem;}
