:root {
    --bg-primary: #0f1117;
    --bg-secondary: #1a1d27;
    --bg-tertiary: #232636;
    --border: #27272a;
    --border-hover: #3f3f46;
    --text-primary: #fafafa;
    --text-secondary: #e4e4e7;
    --text-muted: #a1a1aa;
    --text-dim: #71717a;
    --accent: #00d4aa;
    --accent-hover: #00e6b8;
    --accent-dim: rgba(0, 212, 170, 0.12);
    --danger: #ef4444;
    --danger-dim: rgba(239, 68, 68, 0.12);
    --warning: #f59e0b;
    --info: #3b82f6;
    --radius: 10px;
    --radius-sm: 6px;
    --transition: 0.2s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    min-height: 100vh;
}

.page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    height: 32px;
    border-radius: 6px;
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.header-nav {
    display: flex;
    gap: 6px;
}

.nav-link {
    padding: 6px 14px;
    border-radius: 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
}

.nav-link:hover { color: var(--text-primary); background: var(--bg-tertiary); }
.nav-link.active { color: var(--accent); background: var(--accent-dim); }

.announcement {
    background: var(--accent-dim);
    border: 1px solid rgba(0, 212, 170, 0.15);
    border-radius: var(--radius);
    padding: 12px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--accent);
    animation: fadeDown 0.4s ease;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.announce-icon { font-size: 18px; flex-shrink: 0; }

.search-bar {
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.search-input {
    flex: 1;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    outline: none;
    transition: all var(--transition);
}

.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.search-btn {
    padding: 10px 20px;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.search-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.category-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cat-tab {
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
}

.cat-tab:hover { border-color: var(--accent); color: var(--text-primary); }
.cat-tab.active { background: var(--accent); color: var(--bg-primary); border-color: var(--accent); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.product-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent);
}

.product-img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img { transform: scale(1.05); }

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    opacity: 0.3;
    color: var(--text-dim);
}

.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.stock-badge.out { background: var(--danger); color: #fff; }
.stock-badge.low { background: var(--warning); color: #000; }

.product-info {
    padding: 14px 16px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.product-sales {
    font-size: 12px;
    color: var(--text-dim);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
}

.empty-icon {
    font-size: 56px;
    margin-bottom: 12px;
    color: var(--text-dim);
}

.site-footer {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    margin-top: 40px;
    font-size: 12px;
    color: var(--text-dim);
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.pd-img-wrap {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

.pd-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 96px;
    opacity: 0.3;
    color: var(--text-dim);
}

.pd-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pd-category {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.pd-price-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.pd-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}

.pd-stock {
    font-size: 13px;
    color: var(--text-muted);
}

.sku-select-section {
    margin-bottom: 16px;
}

.sku-section-title {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.sku-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sku-option-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sku-option-btn:hover {
    border-color: var(--accent);
    background: var(--bg-secondary);
    box-shadow: 0 4px 8px rgba(0,212,170,0.15);
    transform: translateY(-1px);
}

.sku-option-btn.active {
    border-color: var(--accent);
    background: var(--accent-dim);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.sku-option-btn.soldout {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.sku-opt-name {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.sku-opt-price {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
}

.buy-hint {
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 8px;
}

.wholesale-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 16px;
}

.wholesale-box h4 {
    font-size: 13px;
    color: var(--warning);
    margin-bottom: 10px;
}

.wholesale-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wholesale-item {
    padding: 6px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
}

.ws-price { color: var(--accent); font-weight: 600; }

.pd-desc {
    margin-bottom: 20px;
}

.pd-desc h4 {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pd-desc p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.pd-buy-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.buy-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.buy-row label {
    font-size: 13px;
    color: var(--text-muted);
    min-width: 70px;
    flex-shrink: 0;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-control button {
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    transition: background var(--transition);
}

.qty-control button:hover { background: var(--border); }

.qty-control input {
    width: 60px;
    height: 36px;
    text-align: center;
    background: var(--bg-primary);
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

.buy-input {
    flex: 1;
    padding: 8px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition);
}

.buy-input:focus { border-color: var(--accent); }

.pay-type-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pay-type-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.pay-type-item:hover { border-color: var(--accent); }

.pay-type-item input[type="radio"] { accent-color: var(--accent); }

.pay-type-label { font-size: 13px; color: var(--text-secondary); }

.buy-total {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.total-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.btn-buy {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    margin-top: 8px;
}

.pd-soldout {
    text-align: center;
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-dim);
    font-size: 14px;
}

/* Query Page */
.query-page {
    max-width: 600px;
    margin: 0 auto 40px;
}

.query-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
}

.query-box h2 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.query-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.query-form {
    text-align: left;
}

.query-form .form-group {
    margin-bottom: 14px;
}

.query-form label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.query-form .form-input {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition);
}

.query-form .form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }

.query-form .btn { width: 100%; margin-top: 8px; padding: 11px; }

.result-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.result-header h3 { font-size: 15px; color: var(--text-primary); }

.result-body {
    padding: 16px 20px;
}

.result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
}

.result-row + .result-row { border-top: 1px solid var(--border); }

.result-label { color: var(--text-muted); }

.result-row code {
    color: var(--accent);
    font-size: 12px;
}

.result-cards {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.result-cards h4 {
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 12px;
}

.cards-box {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: left;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--accent);
    white-space: pre-wrap;
    word-break: break-all;
}

/* Result page (pay return) */
.result-container {
    max-width: 500px;
    margin: 40px auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
}

.result-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 16px;
}

.result-icon.success { background: var(--accent-dim); color: var(--accent); }
.result-icon.pending { background: var(--warning); color: #000; }
.result-icon.error { background: var(--danger-dim); color: var(--danger); }
.result-icon.info { background: var(--info); color: #fff; }

.result-container h2 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.result-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.result-order-info {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    text-align: left;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.info-row + .info-row { border-top: 1px solid var(--border); }
.info-row code { color: var(--accent); font-size: 12px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: inherit;
}

.btn-primary { background: var(--accent); color: var(--bg-primary); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0,212,170,.25); }
.btn-ghost { background: var(--bg-tertiary); color: var(--text-secondary); }
.btn-ghost:hover { background: var(--border); color: var(--text-primary); }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.badge-0 { background: rgba(245,158,11,.12); color: var(--warning); }
.badge-1 { background: var(--accent-dim); color: var(--accent); }
.badge-2 { background: rgba(59,130,246,.12); color: var(--info); }
.badge-3 { background: var(--danger-dim); color: var(--danger); }
.badge-4 { background: rgba(168,85,247,.12); color: #a855f7; }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(20px) scale(.95);
    transition: transform .25s ease;
}

.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 { font-size: 15px; font-weight: 600; color: var(--text-primary); }

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.modal-body { padding: 20px; }

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    animation: toastIn .3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,.3);
}

.toast-success { background: var(--accent); color: var(--bg-primary); }
.toast-error { background: var(--danger); color: #fff; }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 隐藏数字输入框的上下箭头 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-detail { grid-template-columns: 1fr; gap: 20px; }
    .pd-name { font-size: 20px; }
    .pd-price { font-size: 24px; }
    .buy-row { flex-direction: column; align-items: stretch; gap: 6px; }
    .buy-row label { min-width: auto; }
    .pay-type-list { flex-direction: column; }
    .header-nav { gap: 2px; }
    .nav-link { padding: 6px 10px; font-size: 12px; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-name { font-size: 13px; }
    .product-price { font-size: 16px; }
    .page-wrap { padding: 0 12px; }
}

/* NFA CLI动画样式 */
.nfa-pickup-container {
    margin-top: 16px;
}

.nfa-cli-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    animation: cliFadeIn 0.3s ease;
}

@keyframes cliFadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.nfa-cli-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.nfa-cli-icon.loading {
    animation: cliSpin 1s linear infinite;
}

@keyframes cliSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nfa-cli-text {
    color: var(--text-secondary);
}

/* NFA结果卡片 */
.nfa-result-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 12px;
    animation: cliFadeIn 0.3s ease;
}

.nfa-result-card h4 {
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 12px;
}

.nfa-input-group {
    margin-bottom: 12px;
}

.nfa-input-group label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.nfa-result-input {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: monospace;
    font-size: 12px;
    resize: none;
}

.nfa-token-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nfa-token-row .nfa-result-input {
    flex: 1;
}

.nfa-token-row input.nfa-result-input {
    height: 38px;
    resize: none;
}

.nfa-copy-btn {
    flex-shrink: 0;
}

/* NFA已取账号列表 */
.nfa-cards-result {
    margin-top: 20px;
}

.nfa-cards-result h4 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.nfa-card-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
}

.nfa-card-item h4 {
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 12px;
}

.nfa-pickup-actions {
    text-align: center;
    margin: 16px 0;
}

/* NFA结果容器在result-container内 */
.result-container .nfa-pickup-container {
    text-align: left;
    max-width: 500px;
    margin: 16px auto;
}

.result-container .nfa-cards-result {
    text-align: left;
}

.delivery-message-section {
    margin-top: 16px;
}

.delivery-message-box {
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.delivery-message-box a {
    color: var(--accent);
}

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

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-input,
.form-select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
