﻿        :root {
            --primary: #009688;
            --primary-dark: #00796b;
            --primary-light: #e0f2f1;
            --secondary: #00cec9;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --bg-page: #f8fafc;
            --card-bg: #ffffff;
            --border: #e2e8f0;
            --card-radius: 18px;
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
        }
        .dark-mode {
            --primary: #00cec9;
            --primary-dark: #009688;
            --primary-light: rgba(0, 206, 201, 0.15);
            --secondary: #81ecec;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --bg-page: #0f0f1a;
            --card-bg: #1e2038;
            --border: rgba(255, 255, 255, 0.08);
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            scrollbar-width: none !important;
            -ms-overflow-style: none !important;
        }
        *::-webkit-scrollbar {
            display: none !important;
            width: 0 !important;
        }
        html, body {
            max-width: 450px;
            margin: 0 auto;
            min-height: 100vh;
            background-color: var(--bg-page);
            color: var(--text-main);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            transition: background-color 0.3s ease, color 0.3s ease;
        }
        .app-container {
            max-width: 450px;
            margin: 0 auto;
            min-height: 100vh;
            padding: 24px 16px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .brand-header {
            text-align: center;
            margin-bottom: 24px;
        }
        .brand-header img {
            max-width: 170px;
            height: auto;
            margin-bottom: 12px;
        }
        .brand-header h1 {
            font-size: 22px;
            font-weight: 800;
            letter-spacing: -0.5px;
            color: var(--text-main);
        }
        .brand-header p {
            font-size: 13px;
            color: var(--text-muted);
            margin-top: 4px;
        }
        .recovery-card {
            background-color: var(--card-bg);
            border-radius: var(--card-radius);
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            padding: 24px 20px;
            position: relative;
            overflow: hidden;
        }
        /* Role Selector Tabs */
        .role-tabs {
            display: flex;
            background: rgba(0, 0, 0, 0.04);
            border-radius: 12px;
            padding: 4px;
            margin-bottom: 20px;
            gap: 4px;
            border: 1px solid var(--border);
        }
        .dark-mode .role-tabs {
            background: rgba(255, 255, 255, 0.04);
        }
        .role-tab {
            flex: 1;
            padding: 10px 8px;
            border: none;
            background: transparent;
            color: var(--text-muted);
            font-size: 13px;
            font-weight: 700;
            border-radius: 9px;
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .role-tab.active {
            background-color: var(--primary);
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(0, 150, 136, 0.3);
        }
        .dark-mode .role-tab.active {
            color: #080811;
            box-shadow: 0 4px 12px rgba(0, 206, 201, 0.3);
        }
        /* Step Pills */
        .step-indicator {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 22px;
            position: relative;
        }
        .step-indicator::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 20px;
            right: 20px;
            height: 2px;
            background-color: var(--border);
            z-index: 1;
            transform: translateY(-50%);
        }
        .step-item {
            position: relative;
            z-index: 2;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background-color: var(--card-bg);
            border: 2px solid var(--border);
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 800;
            transition: all 0.3s ease;
        }
        .step-item.active {
            border-color: var(--primary);
            background-color: var(--primary);
            color: #ffffff;
            box-shadow: 0 0 0 4px var(--primary-light);
        }
        .dark-mode .step-item.active {
            color: #080811;
        }
        .step-item.done {
            border-color: #10b981;
            background-color: #10b981;
            color: #ffffff;
        }
        /* Account info banner */
        .account-badge {
            background-color: var(--primary-light);
            color: var(--primary-dark);
            padding: 10px 14px;
            border-radius: 10px;
            font-size: 12.5px;
            font-weight: 600;
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .dark-mode .account-badge {
            color: var(--secondary);
        }
        /* Form elements */
        .form-group {
            margin-bottom: 18px;
            position: relative;
        }
        .form-group label {
            display: block;
            font-size: 12.5px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 6px;
        }
        .input-wrap {
            position: relative;
            display: flex;
            align-items: center;
        }
        .input-wrap i.field-icon {
            position: absolute;
            left: 14px;
            color: var(--text-muted);
            font-size: 14px;
        }
        .form-group input {
            width: 100%;
            padding: 12px 14px 12px 40px;
            border-radius: 11px;
            border: 1px solid var(--border);
            font-size: 14px;
            background-color: var(--card-bg);
            color: var(--text-main);
            transition: all 0.2s ease;
        }
        .form-group input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-light);
        }
        .toggle-password {
            position: absolute;
            right: 14px;
            cursor: pointer;
            color: var(--text-muted);
            font-size: 15px;
            padding: 4px;
        }
        .btn-submit {
            width: 100%;
            padding: 13px;
            font-size: 14px;
            font-weight: 700;
            border-radius: 11px;
            border: none;
            cursor: pointer;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 4px 14px rgba(0, 150, 136, 0.3);
            transition: all 0.2s ease;
        }
        .btn-submit:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(0, 150, 136, 0.4);
        }
        .btn-cancel {
            width: 100%;
            margin-top: 10px;
            padding: 10px;
            font-size: 13px;
            font-weight: 600;
            border-radius: 11px;
            border: 1px solid var(--border);
            background: transparent;
            color: var(--text-muted);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: all 0.2s ease;
        }
        .btn-cancel:hover {
            background: rgba(0, 0, 0, 0.03);
            color: #ef4444;
        }
        .dark-mode .btn-cancel:hover {
            background: rgba(255, 255, 255, 0.05);
        }
        .back-login {
            text-align: center;
            margin-top: 22px;
        }
        .back-login a {
            color: var(--primary);
            text-decoration: none;
            font-size: 13px;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: color 0.2s ease;
        }
        .back-login a:hover {
            text-decoration: underline;
        }
