/**
 * WebChat SAAS - Authentication & Portal Stylesheet
 * File: public/css/login.css
 */

:root {
            --brand-primary: #0284c7;
            --brand-hover: #0369a1;
            --brand-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
            --bg-canvas: #f8fafc;
            --card-border: #e2e8f0;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: var(--bg-canvas);
            background-image: 
                radial-gradient(at 0% 0%, rgba(2, 132, 199, 0.08) 0px, transparent 50%),
                radial-gradient(at 100% 100%, rgba(37, 99, 235, 0.08) 0px, transparent 50%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #1e293b;
            padding: 24px 16px;
        }

        .auth-container {
            width: 100%;
            max-width: 460px;
        }

        .auth-card {
            background: #ffffff;
            border: 1px solid var(--card-border);
            border-radius: 16px;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
            overflow: hidden;
            transition: all 0.2s ease;
        }

        .brand-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(2, 132, 199, 0.1);
            color: var(--brand-primary);
            padding: 6px 14px;
            border-radius: 9999px;
            font-size: 13px;
            font-weight: 600;
        }

        .form-control {
            border-radius: 10px;
            padding: 11px 14px;
            border: 1px solid #cbd5e1;
            font-size: 14px;
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
        }

        .form-control:focus {
            border-color: var(--brand-primary);
            box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
        }

        .input-group-text {
            background: #f8fafc;
            border-color: #cbd5e1;
            color: #64748b;
        }

        .btn-brand {
            background: var(--brand-gradient);
            color: #fff;
            border: none;
            padding: 12px 20px;
            font-size: 15px;
            font-weight: 600;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
            transition: transform 0.15s ease, box-shadow 0.15s ease;
        }

        .btn-brand:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
            color: #fff;
        }

        .demo-chip {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 9px 12px;
            border-radius: 10px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            cursor: pointer;
            transition: all 0.15s ease;
            text-align: left;
            margin-bottom: 8px;
            font-size: 13px;
        }

        .demo-chip:hover {
            background: #e0f2fe;
            border-color: #7dd3fc;
            transform: translateX(3px);
        }

        .demo-chip .badge-role {
            font-size: 10px;
            padding: 3px 8px;
            border-radius: 6px;
        }

        .security-badge {
            font-size: 12px;
            color: #64748b;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: 20px;
        }
