﻿
        /* --- CORE FRUTIGER AERO STYLES (Shared) --- */
        :root { --glass-border: 1px solid rgba(255, 255, 255, 0.6); }
        body {
            margin: 0;
            background: linear-gradient(135deg, #0077b6 0%, #48cae4 25%, #90e0ef 50%, #caf0f8 75%, #ade8f4 100%) no-repeat center center fixed;
            background-size: cover;
            font-family: 'Verdana', sans-serif;
            font-size: 11px;
            color: #333;
        }
        #wrapper {
            width: 960px;
            margin: 20px auto;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 8px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
            overflow: hidden;
            min-height: 600px;
        }
        header {
            height: 120px;
            background: linear-gradient(to bottom, #f0f9ff 0%, #cbebff 47%, #a1dbff 100%);
            position: relative;
            border-bottom: 1px solid #8bb0cc;
        }
        .logo-area { position: absolute; top: 20px; left: 20px; }
        h1 { margin: 0; font-family: 'Trebuchet MS', sans-serif; font-size: 32px; color: #0055aa; text-shadow: 2px 2px 2px rgba(255,255,255,0.8); }

        /* --- NAVIGATION --- */
        #nav-bar { position: absolute; bottom: 0; right: 20px; display: flex; gap: 3px; }
        .nav-tab {
            display: block;
            padding: 8px 12px;
            background: linear-gradient(to bottom, #fff 0%, #e6e6e6 100%);
            border-radius: 8px 8px 0 0;
            border: 1px solid #aaa;
            border-bottom: none;
            text-decoration: none;
            color: #555;
            font-weight: bold;
            font-size: 11px;
            white-space: nowrap;
        }
        .nav-tab:hover { background: linear-gradient(to bottom, #d4f4ff 0%, #a3e4ff 100%); color: #0055aa; }

        /* --- AUTH PAGE STYLES --- */
        .content-pad { padding: 40px; }

        /* Mode Switch (Login / Sign Up tabs) */
        .mode-switch {
            display: flex;
            gap: 4px;
            border-bottom: 2px solid #0055aa;
            margin-bottom: 20px;
        }
        .mode-tab {
            padding: 10px 25px;
            background: linear-gradient(to bottom, #f4faff 0%, #d6ebff 100%);
            border: 1px solid #8bb0cc;
            border-bottom: none;
            border-radius: 8px 8px 0 0;
            cursor: pointer;
            font-weight: bold;
            font-size: 13px;
            color: #6688aa;
            user-select: none;
            transition: all 0.15s;
        }
        .mode-tab:hover { background: linear-gradient(to bottom, #fff 0%, #e6f4ff 100%); color: #0055aa; }
        .mode-tab.active {
            background: linear-gradient(to bottom, #fff 0%, #e6f4ff 100%);
            color: #0055aa;
            border-color: #0055aa;
            position: relative;
            top: 2px;
            padding-bottom: 12px;
        }

        .reg-container {
            display: flex;
            gap: 30px;
        }

        .reg-form-box {
            flex: 2;
            background: #f4faff;
            border: 1px solid #b3cce6;
            padding: 20px;
            border-radius: 5px;
        }

        .benefits-box {
            flex: 1;
            background: #ffffe0;
            border: 1px solid #e6db55;
            padding: 15px;
            height: fit-content;
            border-radius: 5px;
        }

        fieldset {
            border: 1px solid #ccc;
            padding: 15px;
            margin-bottom: 15px;
            background: #fff;
        }

        legend {
            font-weight: bold;
            color: #0055aa;
            padding: 0 5px;
        }

        .form-row {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }

        .form-label {
            width: 130px;
            font-weight: bold;
            color: #444;
            text-align: right;
            margin-right: 15px;
        }

        input[type="text"], input[type="password"], input[type="email"], select {
            padding: 3px;
            width: 200px;
            border: 1px solid #7f9db9;
            background: #fff;
        }

        .tos-box {
            width: 95%;
            height: 80px;
            border: 1px solid #999;
            overflow-y: scroll;
            background: #fff;
            padding: 5px;
            font-size: 10px;
            margin: 10px 0;
            color: #666;
        }

        .btn-primary {
            background: linear-gradient(to bottom, #88dd88 0%, #44aa44 100%);
            border: 1px solid #2d6b2d;
            color: white;
            font-weight: bold;
            font-size: 14px;
            padding: 8px 20px;
            cursor: pointer;
            border-radius: 3px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        .btn-primary:hover { background: linear-gradient(to bottom, #99ee99 0%, #55bb55 100%); }

        .btn-login {
            background: linear-gradient(to bottom, #88c4f0 0%, #2a7ec0 100%);
            border: 1px solid #1d5a8c;
        }
        .btn-login:hover { background: linear-gradient(to bottom, #a0d4f8 0%, #3a8ed0 100%); }

        .auth-form { display: none; }
        .auth-form.active { display: block; }

        .switch-hint {
            margin-top: 15px;
            text-align: center;
            color: #666;
            font-size: 11px;
        }
        .switch-hint a {
            color: #0055aa;
            font-weight: bold;
            text-decoration: none;
            cursor: pointer;
        }
        .switch-hint a:hover { text-decoration: underline; }

        .form-error {
            display: none;
            background: #fff3f3;
            border: 1px solid #ffcccc;
            color: #cc0000;
            padding: 6px 10px;
            margin-bottom: 12px;
            font-size: 11px;
            border-radius: 3px;
        }
        .form-error.show { display: block; }
    

        #auth-container {
            position: absolute; top: 15px; right: 20px; z-index: 1000;
            display: flex; gap: 10px; align-items: center;
            font-family: 'Verdana', sans-serif; font-size: 11px;
        }
        .glass-pill {
            border-radius: 20px; padding: 5px 15px; cursor: pointer;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1); display: flex;
            align-items: center; gap: 8px; font-weight: bold;
            transition: all 0.2s; position: relative; user-select: none;
        }
        .glass-pill:hover { transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
        .token-pill {
            background: linear-gradient(to bottom, #fff 0%, #fffdf0 50%, #fff8db 100%);
            border: 1px solid #d4af37; color: #8a6d3b;
        }
        .user-pill {
            background: linear-gradient(to bottom, #fff 0%, #e6e6e6 100%);
            border: 1px solid #aaa; color: #333;
        }
        #user-dropdown {
            display: none; position: absolute; top: 35px; right: 0; width: 160px;
            background: rgba(255, 255, 255, 0.98); border: 1px solid #999;
            border-radius: 5px; box-shadow: 0 5px 20px rgba(0,0,0,0.3);
            backdrop-filter: blur(5px); text-align: left; overflow: hidden; z-index: 2000;
        }
        .dd-item {
            display: block; padding: 8px 12px; color: #333; text-decoration: none;
            border-bottom: 1px solid #eee;
        }
        .dd-item:hover { background: #e6f7ff; color: #0055aa; }
    
@keyframes ticker-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}