/* Self-hosted Roboto variable font (replaces Google Fonts CDN for CSP compliance) */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/font/Roboto/Roboto-Variable.woff2') format('woff2'); }

        :root {
            --honda-red: #CC0000;
            --honda-red-dark: #A30000;
            --honda-red-light: #E60012;
            --honda-black: #0A0A0A;
            --honda-gray: #1a1a1a;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Roboto', sans-serif;
            background: #f5f5f5;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .login-container {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            width: 100%;
            max-width: 1100px;
            min-height: 640px;
            display: flex;
        }

        .login-left {
            flex: 1;
            padding: 70px 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: #fff;
        }

        .login-right {
            flex: 1.1;
            background:
                linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(204,0,0,0.75) 100%),
                radial-gradient(circle at 30% 30%, #2a2a2a 0%, #0a0a0a 70%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        /* Honda wordmark logo (CSS-only) */
        .honda-logo {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 48px;
        }

        .honda-logo-img {
            height: 64px;
            width: auto;
            max-height: 64px;
            max-width: 100%;
            object-fit: contain;
            display: block;
        }

        .honda-mark {
            width: 56px;
            height: 56px;
            background: var(--honda-red);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            position: relative;
            box-shadow: 0 6px 16px rgba(204, 0, 0, 0.35);
        }

            .honda-mark::before {
                content: "H";
                color: #fff;
                font-weight: 900;
                font-size: 2rem;
                font-family: 'Roboto', sans-serif;
                letter-spacing: -2px;
            }

        .honda-wordmark {
            font-size: 2.2rem;
            font-weight: 900;
            color: var(--honda-black);
            letter-spacing: 2px;
        }

        .welcome-text {
            margin-bottom: 36px;
        }

            .welcome-text h2 {
                font-size: 2rem;
                font-weight: 700;
                color: var(--honda-black);
                margin-bottom: 10px;
                letter-spacing: -0.5px;
            }

            .welcome-text .accent-bar {
                width: 48px;
                height: 4px;
                background: var(--honda-red);
                margin-bottom: 14px;
            }

            .welcome-text p {
                color: #666;
                font-size: 0.95rem;
                font-weight: 400;
            }

        .form-group {
            margin-bottom: 22px;
        }

        .form-label {
            font-weight: 500;
            color: #333;
            margin-bottom: 8px;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: block;
        }

        .form-input {
            width: 100%;
            padding: 15px 18px;
            border: 2px solid #e0e0e0;
            border-radius: 4px;
            font-size: 1rem;
            transition: all 0.25s ease;
            background: #fff;
            font-family: 'Roboto', sans-serif;
        }

            .form-input:focus {
                outline: none;
                border-color: var(--honda-red);
                box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.08);
            }

        .password-container {
            position: relative;
        }

        .password-toggle {
            position: absolute;
            right: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: #888;
            cursor: pointer;
            font-size: 1rem;
            transition: color 0.25s ease;
        }

            .password-toggle:hover {
                color: var(--honda-red);
            }

        .form-actions {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            margin-bottom: 28px;
        }

        .forgot-password {
            color: var(--honda-red);
            text-decoration: none;
            font-size: 0.88rem;
            font-weight: 500;
            transition: color 0.25s ease;
        }

            .forgot-password:hover {
                color: var(--honda-red-dark);
                text-decoration: underline;
            }

        .login-button {
            width: 100%;
            padding: 16px;
            background: var(--honda-red);
            border: none;
            border-radius: 4px;
            color: white;
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.25s ease;
            box-shadow: 0 4px 14px rgba(204, 0, 0, 0.3);
        }

            .login-button:hover {
                background: var(--honda-red-dark);
                transform: translateY(-1px);
                box-shadow: 0 6px 18px rgba(204, 0, 0, 0.4);
            }

            .login-button:active {
                transform: translateY(0);
            }

        /* Right panel content */
        .right-content {
            text-align: center;
            padding: 40px;
            color: #fff;
            z-index: 2;
            position: relative;
        }

        .right-mark {
            margin: 0 auto 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .right-mark-img {
                width: 260px;
                max-width: 80%;
                height: auto;
                display: block;
            }

        .right-content h3 {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 14px;
            letter-spacing: 0.5px;
        }

        .right-content .tagline {
            font-size: 1.05rem;
            opacity: 0.9;
            line-height: 1.6;
            font-weight: 300;
            max-width: 340px;
            margin: 0 auto;
        }

        .right-content .power-dream {
            margin-top: 28px;
            padding-top: 22px;
            border-top: 1px solid rgba(255,255,255,0.2);
            font-style: italic;
            font-size: 0.95rem;
            font-weight: 500;
            letter-spacing: 2px;
            text-transform: uppercase;
            opacity: 0.95;
        }

        /* Decorative diagonal stripes evoking motion */
        .speed-lines {
            position: absolute;
            inset: 0;
            opacity: 0.08;
            background-image: repeating-linear-gradient(
                115deg,
                transparent 0,
                transparent 40px,
                #fff 40px,
                #fff 42px
            );
            pointer-events: none;
        }

        .red-accent {
            position: absolute;
            top: 0;
            right: 0;
            width: 6px;
            height: 100%;
            background: var(--honda-red);
        }

        .footer {
            position: fixed;
            bottom: 16px;
            left: 50%;
            transform: translateX(-50%);
            color: #777;
            font-size: 0.78rem;
            text-align: center;
        }

        .text-danger {
            color: #dc3545 !important;
        }

        .validation-summary {
            background: #fdecea;
            border-left: 4px solid var(--honda-red);
            border-radius: 4px;
            padding: 12px 14px;
            margin-bottom: 20px;
            color: #8a1c1c;
            font-size: 0.88rem;
        }

            .validation-summary:empty {
                display: none;
            }

        @media (max-width: 900px) {
            body {
                display: block;
                padding: 20px 16px 0;
            }

            .footer {
                position: static;
                transform: none;
                margin: 24px auto 16px;
            }

            .login-container {
                flex-direction: column;
                min-height: auto;
            }

            .login-left {
                padding: 48px 32px;
                order: 2;
            }

            .login-right {
                min-height: 240px;
                order: 1;
            }

            .right-mark {
                margin-bottom: 18px;
            }

                .right-mark-img {
                    width: 180px;
                }

            .right-content h3 {
                font-size: 1.3rem;
            }

            .right-content .tagline {
                font-size: 0.9rem;
            }

            .right-content .power-dream {
                margin-top: 16px;
                padding-top: 12px;
            }

            .welcome-text h2 {
                font-size: 1.6rem;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 0;
            }

            .login-container {
                border-radius: 0;
                box-shadow: none;
            }

            .login-left {
                padding: 36px 22px;
            }

            .honda-logo {
                margin-bottom: 32px;
            }
        }
