:root { font-family: Vazirmatn, Tahoma, sans-serif; color: #1f2937; background: #f5f7fb; }
* { box-sizing: border-box; } body { margin: 0; } .shell { max-width: 1200px; margin: auto; padding: 0 24px 48px; }
.topbar { display: flex; justify-content: space-between; align-items: center; height: 72px; } .brand { color: #172554; font-weight: 800; font-size: 20px; text-decoration: none; } a { color: #2563eb; }
.content { display: grid; gap: 22px; } .hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; background: #172554; color: white; padding: 32px; border-radius: 18px; } .hero h1 { margin: 4px 0 8px; } .hero p { margin: 0; color: #dbeafe; } .eyebrow { font-size: 12px; letter-spacing: .15em; }
.grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; } .card, .login-card { background: white; border: 1px solid #e5e7eb; border-radius: 14px; padding: 24px; box-shadow: 0 3px 14px #0f172a0c; } h2 { margin-top: 0; font-size: 18px; } label { display: block; font-weight: 700; font-size: 14px; margin: 14px 0 6px; } input { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 11px; font: inherit; } button { margin-top: 18px; border: 0; border-radius: 8px; background: #2563eb; color: white; padding: 10px 16px; cursor: pointer; font: inherit; } button.secondary { background: white; color: #172554; } .small { margin: 0; padding: 7px 10px; font-size: 13px; border: 1px solid #cbd5e1; }
.token-box { margin-top: 18px; border: 1px solid #93c5fd; background: #eff6ff; padding: 14px; border-radius: 10px; display: grid; gap: 8px; } code { direction: ltr; text-align: left; background: #f1f5f9; padding: 2px 5px; border-radius: 4px; overflow-wrap: anywhere; } small { color: #475569; } .error { color: #b91c1c; } .notice { padding: 30px; text-align: center; }
.button-link, .small-link { display: inline-block; text-decoration: none; border-radius: 8px; background: white; color: #172554; padding: 10px 16px; } .small-link { padding: 7px 10px; border: 1px solid #cbd5e1; font-size: 13px; } .amount-positive { color: #15803d; font-weight: 700; } .amount-negative { color: #b91c1c; font-weight: 700; }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 14px; } .pager button { margin: 0; } .pager button:disabled { opacity: .45; cursor: default; } .count { color: #475569; font-size: 13px; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; } .metric { background: white; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px; display: grid; gap: 5px; box-shadow: 0 3px 14px #0f172a0c; } .metric span { color: #475569; font-size: 13px; } .metric strong { font-size: 25px; color: #172554; } .metric small { font-size: 12px; } .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; } .section-heading h2 { margin-bottom: 4px; } .section-heading .count { margin: 0; } .search-form { display: flex; align-items: center; gap: 7px; } .search-form input { min-width: 210px; } .search-form button { margin: 0; white-space: nowrap; }
.table-card { overflow-x: auto; } table { border-collapse: collapse; width: 100%; min-width: 650px; } th, td { text-align: right; padding: 12px; border-bottom: 1px solid #e5e7eb; vertical-align: middle; } th { color: #475569; font-size: 13px; } .token { display: inline-block; max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; } td .small { margin: 4px 3px; } .login-card { max-width: 430px; margin: 12vh auto; } .login-card h1 { margin-top: 0; } .api-card p { border-bottom: 1px solid #e5e7eb; padding-bottom: 10px; }
@media (max-width: 720px) { .shell { padding: 0 14px 32px; } .hero, .grid { display: grid; grid-template-columns: 1fr; } .section-heading, .search-form { align-items: stretch; flex-direction: column; } .search-form input { min-width: 0; } }
