/* Extracted from resources/views/auth/login.blade.php style block 1 */
:root {
            --bg: #f3f6fb;
            --panel: #ffffff;
            --ink: #0f172a;
            --muted: #64748b;
            --line: #dbe3ef;
            --blue: #2563eb;
            --blue-dark: #1d4ed8;
            --danger-bg: #fee2e2;
            --danger: #b91c1c;
            --success-bg: #dcfce7;
            --success: #166534;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background:
                radial-gradient(circle at top left, rgba(37, 99, 235, .14), transparent 32rem),
                linear-gradient(135deg, #eef4ff 0%, #f8fafc 52%, #edf2f7 100%);
            color: var(--ink);
            display: grid;
            place-items: center;
            padding: 24px;
        }

        .login-shell {
            width: min(1020px, 100%);
            min-height: 600px;
            display: grid;
            grid-template-columns: 1.1fr .9fr;
            background: var(--panel);
            border: 1px solid var(--line);
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 30px 80px rgba(15, 23, 42, .12);
        }

        .brand-panel {
            position: relative;
            padding: 44px;
            background: #0f172a;
            color: #fff;
            overflow: hidden;
        }

        .brand-panel::before,
        .brand-panel::after {
            content: "";
            position: absolute;
            border-radius: 999px;
            filter: blur(4px);
            opacity: .8;
        }

        .brand-panel::before {
            width: 260px;
            height: 260px;
            right: -80px;
            top: -60px;
            background: rgba(37, 99, 235, .65);
        }

        .brand-panel::after {
            width: 220px;
            height: 220px;
            left: -70px;
            bottom: -80px;
            background: rgba(16, 185, 129, .35);
        }

        .brand-inner {
            position: relative;
            z-index: 1;
            min-height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 36px;
        }

        .brand-top {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .brand-icon {
            width: 48px;
            height: 48px;
            border-radius: 16px;
            display: grid;
            place-items: center;
            border: 1px solid rgba(255,255,255,.25);
            background: rgba(255,255,255,.08);
            box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
        }

        .brand-icon svg {
            width: 25px;
            height: 25px;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .brand-title {
            margin: 0;
            font-size: 22px;
            font-weight: 650;
            letter-spacing: -.04em;
        }

        .brand-subtitle {
            margin-top: 3px;
            color: #cbd5e1;
            font-size: 14px;
            font-weight: 400;
        }

        .headline {
            max-width: 470px;
        }

        .headline h1 {
            margin: 0 0 16px;
            font-size: clamp(34px, 5vw, 54px);
            line-height: .96;
            font-weight: 650;
            letter-spacing: -.07em;
        }

        .headline p {
            margin: 0;
            color: #cbd5e1;
            font-size: 16px;
            line-height: 1.7;
            font-weight: 400;
        }

        .feature-list {
            display: grid;
            gap: 12px;
            margin-top: 26px;
        }

        .feature {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #e2e8f0;
            font-size: 14px;
            font-weight: 400;
        }

        .feature span {
            width: 24px;
            height: 24px;
            border-radius: 999px;
            display: grid;
            place-items: center;
            background: rgba(34,197,94,.18);
            color: #86efac;
        }

        .form-panel {
            padding: 46px;
            display: flex;
            align-items: center;
        }

        .form-card {
            width: 100%;
        }

        .form-card h2 {
            margin: 0 0 8px;
            font-size: 30px;
            line-height: 1.1;
            font-weight: 650;
            letter-spacing: -.05em;
        }

        .form-card .hint {
            margin: 0 0 28px;
            color: var(--muted);
            font-size: 14px;
            line-height: 1.6;
        }

        .alert {
            border-radius: 14px;
            padding: 12px 14px;
            font-size: 14px;
            margin-bottom: 18px;
            line-height: 1.5;
        }

        .alert-danger {
            background: var(--danger-bg);
            color: var(--danger);
            border: 1px solid #fecaca;
        }

        .alert-success {
            background: var(--success-bg);
            color: var(--success);
            border: 1px solid #bbf7d0;
        }

        .form-group {
            display: grid;
            gap: 8px;
            margin-bottom: 16px;
        }

        label {
            color: #334155;
            font-size: 13px;
            font-weight: 600;
        }

        input[type="email"],
        input[type="password"],
        input[type="text"] {
            width: 100%;
            height: 48px;
            border: 1px solid var(--line);
            border-radius: 14px;
            background: #fff;
            color: var(--ink);
            padding: 0 14px;
            font-size: 15px;
            outline: none;
            transition: border-color .15s ease, box-shadow .15s ease;
        }

        input:focus {
            border-color: #93c5fd;
            box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
        }

        .password-wrap {
            position: relative;
        }

        .password-wrap input {
            padding-right: 92px;
        }

        .toggle-password {
            position: absolute;
            top: 7px;
            right: 7px;
            height: 34px;
            border: 1px solid var(--line);
            border-radius: 10px;
            background: #f8fafc;
            color: #334155;
            padding: 0 12px;
            cursor: pointer;
            font-size: 12px;
            font-weight: 600;
        }

        .options-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            margin: 8px 0 22px;
            color: var(--muted);
            font-size: 14px;
        }

        .check-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--muted);
            font-size: 14px;
            font-weight: 400;
        }

        .submit-btn {
            width: 100%;
            height: 50px;
            border: 0;
            border-radius: 14px;
            background: var(--blue);
            color: #fff;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 14px 28px rgba(37, 99, 235, .24);
            transition: transform .15s ease, background .15s ease;
        }

        .submit-btn:hover {
            background: var(--blue-dark);
            transform: translateY(-1px);
        }

        .demo-box {
            margin-top: 20px;
            border: 1px dashed #cbd5e1;
            background: #f8fafc;
            border-radius: 14px;
            padding: 14px;
            color: #475569;
            font-size: 13px;
            line-height: 1.65;
        }

        .demo-box strong {
            color: #0f172a;
            font-weight: 650;
        }

        @media (max-width: 880px) {
            .login-shell {
                grid-template-columns: 1fr;
            }

            .brand-panel {
                padding: 32px;
            }

            .form-panel {
                padding: 32px;
            }
        }

        @media (max-width: 520px) {
            body {
                padding: 12px;
            }

            .login-shell {
                border-radius: 22px;
            }

            .brand-panel,
            .form-panel {
                padding: 24px;
            }

            .headline h1 {
                font-size: 34px;
            }
        }
    

        /* HPOS mobile responsive patch START */
        @media (max-width: 640px) {
            body {
                padding: 10px;
                align-items: flex-start;
                overflow-x: hidden;
            }

            .login-shell {
                width: 100%;
                min-height: auto;
                border-radius: 18px;
                overflow: hidden;
            }

            .brand-panel,
            .form-panel {
                padding: 20px 16px;
            }

            .brand-top {
                gap: 10px;
            }

            .brand-icon {
                width: 42px;
                height: 42px;
                flex-basis: 42px;
            }

            .headline h1 {
                font-size: clamp(24px, 8vw, 34px);
            }

            .headline p,
            .feature,
            .form-card .hint {
                font-size: 13px;
            }

            .feature-list {
                gap: 8px;
            }

            .form-card {
                padding: 18px 16px;
                border-radius: 18px;
            }

            .options-row {
                align-items: flex-start;
                flex-direction: column;
                gap: 10px;
            }

            .password-wrap input,
            .form-group input {
                min-height: 44px;
                font-size: 16px;
            }

            .submit-btn {
                min-height: 46px;
            }
        }
        /* HPOS mobile responsive patch END */
