        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

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

        .logo {
            text-align: center;
            margin-bottom: 30px;
        }

        .logo h1 {
            color: #333;
            margin: 0;
            font-size: 2.5em;
            font-weight: 300;
        }

        .logo p {
            color: #666;
            margin: 5px 0 0 0;
            font-size: 0.9em;
        }

        .btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }

        .btn-primary:disabled {
            transform: none;
        }

        .error-message {
            background: #fee;
            color: #c33;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 20px;
            font-size: 14px;
            display: none;
        }

        .error-message.show {
            display: block;
        }

        .success-message {
            background: #d4edda;
            color: #155724;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 20px;
            font-size: 14px;
            display: none;
        }

        .success-message.show {
            display: block;
        }

        /* Spinner Styles */
        .spinner-wrapper {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .spinner-inline {
            display: inline-flex;
        }

        .spinner {
            animation: spin 1s linear infinite;
            display: inline-block;
            vertical-align: middle;
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }

        .spinner-text {
            color: inherit;
            font-size: inherit;
            margin-left: 8px;
        }

        /* HTMX Indicator Styles */
        .htmx-indicator {
            display: none;
            vertical-align: middle;
            margin-left: 8px;
        }

        .htmx-request .htmx-indicator {
            display: inline-block;
        }

        /* Login button specific styles */
        .login-button {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s ease;
        }

        .login-button .button-text {
            transition: opacity 0.2s ease;
        }

        .login-button.htmx-request .button-text {
            margin-right: 8px;
        }

        .login-button[disabled] {
            opacity: 0.7;
            cursor: not-allowed;
        }

        /* Sizes */
        .spinner-sm {
            width: 16px;
            height: 16px;
        }

        .spinner-md {
            width: 20px;
            height: 20px;
        }

        .spinner-lg {
            width: 24px;
            height: 24px;
        }

        .spinner-xl {
            width: 32px;
            height: 32px;
        }