:root { --navy: #18324a; --blue: #1677c8; --bg: #f4f7fa; --border: #d9e0e7; --danger: #b42318; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: #16212d; font: 15px/1.5 system-ui, "Microsoft YaHei", sans-serif; }
.topbar { min-height: 58px; display: flex; align-items: center; gap: 24px; padding: 0 5%; color: white; background: var(--navy); }
.brand { font-weight: 700; font-size: 18px; color: inherit; text-decoration: none; white-space: nowrap; }.brand span { font-size: 11px; color: #b7d7ee; }
nav { display: flex; gap: 14px; flex: 1; flex-wrap: wrap; } nav a, .link-button { color: #eaf5ff; text-decoration: none; background: none; border: 0; cursor: pointer; font: inherit; }
.user-name { margin-right: 9px; }.container { max-width: 1180px; margin: 30px auto; padding: 0 20px 40px; }
h1 { margin: 0 0 8px; font-size: 25px; } p { margin-top: 0; }.notice { padding: 12px; background: #eef7ff; border-left: 4px solid var(--blue); }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }.button, button { display: inline-block; padding: 9px 15px; border: 0; border-radius: 4px; background: var(--blue); color: white; cursor: pointer; font: inherit; text-decoration: none; }
table { width: 100%; border-collapse: collapse; background: white; box-shadow: 0 1px 2px #0000000c; } th, td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; } th { color: #465464; background: #f9fbfc; font-weight: 600; }
.form-stack { display: grid; gap: 16px; max-width: 630px; padding: 22px; background: white; border: 1px solid var(--border); }.wide-form { max-width: 760px; } label { display: grid; gap: 6px; font-weight: 600; } input, textarea, select { width: 100%; padding: 9px; border: 1px solid #aebbc6; border-radius: 4px; font: inherit; } textarea { min-height: 120px; } small { color: #52606d; font-weight: 400; }
fieldset { border: 1px solid var(--border); } fieldset label { display: inline-flex; margin-right: 18px; font-weight: 400; } fieldset input { width: auto; }.auth-card { max-width: 460px; padding: 28px; margin: 60px auto; background: white; border: 1px solid var(--border); }
.stats { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }.stats span { padding: 6px 10px; background: #e8f1f9; border-radius: 4px; }.confirm-box { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 18px; background: white; border: 1px solid var(--border); }.confirm-box label { display: block; flex: 1; }.confirm-box input { width: auto; margin-right: 7px; }
.message { padding: 12px; margin-bottom: 18px; background: #eaf7ee; border-left: 4px solid #258341; }.message.error, .errorlist { color: var(--danger); background: #fff0ef; }.danger { color: var(--danger); }.filters { display: flex; gap: 10px; align-items: end; margin-bottom: 16px; }.filters label { display: grid; gap: 5px; }.filters select { min-width: 170px; }
.user-actions-heading, .user-actions-cell { width: 140px; min-width: 140px; vertical-align: middle; }.user-actions { display: inline-flex; flex-flow: row nowrap; align-items: center; gap: 8px; white-space: nowrap; }.user-actions form { display: inline-flex; flex: none; margin: 0; }.user-action-edit, .user-action-delete { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 29px; padding: 0; flex: none; font-size: 13px; line-height: 1; white-space: nowrap; }.user-action-delete { background: var(--danger); }
.recharge-entry { max-width: 620px; margin: 54px auto 0; }.recharge-entry h1 { margin-bottom: 22px; }.simple-recharge-form { display: grid; gap: 20px; padding: 24px; background: white; border: 1px solid var(--border); }.simple-recharge-form input { min-height: 46px; font-size: 17px; }.simple-recharge-form button { min-height: 44px; font-weight: 700; }.simple-recharge-form button:disabled { cursor: wait; opacity: .68; }
.recharge-status { max-width: 620px; margin: 54px auto 0; padding: 26px; background: white; border: 1px solid var(--border); }.recharge-status dl { margin: 22px 0; }.recharge-status dl div { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border); }.recharge-status dt { color: #52606d; }.recharge-status dd { margin: 0; font-weight: 700; }.recharge-status-success dd:last-child { color: #18733b; }.recharge-status-failure dd:last-child, .recharge-status-attention dd:last-child { color: var(--danger); }
.auto-return { display: inline-block; margin: 0 0 0 14px; color: #52606d; }.auto-return[hidden] { display: none; }
.recent-status-panel { margin-top: 24px; }.recent-status-panel h2 { margin: 0 0 10px; font-size: 18px; }.recent-status-row { position: relative; padding: 12px 42px 12px 0; border-bottom: 1px solid var(--border); }.recent-status-row > div { display: flex; justify-content: space-between; gap: 16px; }.recent-status-row p { margin: 5px 0 0; color: var(--danger); }.recent-status-iccid { font-variant-numeric: tabular-nums; }.recent-status-processing strong { color: var(--blue); }.recent-status-success strong { color: #18733b; }.recent-status-failure strong { color: var(--danger); }.recent-status-dismiss { position: absolute; top: 8px; right: 0; width: 32px; height: 32px; padding: 0; color: #52606d; background: transparent; font-size: 22px; line-height: 1; }.recent-status-dismiss:hover { color: var(--danger); background: #fff0ef; }.recent-status-empty { color: #667085; }
.processing-tasks { margin: 22px 0 30px; }.processing-tasks h2, .result-heading { margin: 0 0 10px; font-size: 18px; }.processing-tasks td:last-child { color: var(--blue); font-weight: 700; }
.task-list-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }.task-list-header h1 { margin: 0; }.task-list-tools, .task-search { display: flex; align-items: center; gap: 10px; }.date-filters { display: inline-flex; border: 1px solid #c7d0dc; border-radius: 6px; overflow: hidden; flex: none; }.date-filters a { min-width: 58px; padding: 7px 12px; color: #344054; text-align: center; text-decoration: none; background: #fff; border-left: 1px solid #c7d0dc; }.date-filters a:first-child { border-left: 0; }.date-filters a:hover { background: #f2f5f8; }.date-filters a.active { color: #fff; background: var(--blue); font-weight: 700; }.task-search input[type="search"] { width: 190px; }.task-search button, .clear-search { min-height: 38px; padding: 8px 13px; border-radius: 4px; }.clear-search { color: #344054; text-decoration: none; background: #e8edf2; }
@media (max-width: 820px) { .task-list-header { align-items: flex-start; flex-direction: column; }.task-list-tools { width: 100%; flex-wrap: wrap; }.task-search { flex: 1; }.task-search input[type="search"] { flex: 1; width: auto; min-width: 150px; } }
@media (max-width: 560px) { .date-filters { width: 100%; }.date-filters a { flex: 1; min-width: 0; }.task-search { width: 100%; }.recent-status-row > div { flex-direction: column; gap: 2px; } }
@media (max-width: 700px) { .topbar { align-items: flex-start; flex-direction: column; gap: 8px; padding: 12px 5%; }.topbar form { padding-bottom: 4px; }.page-heading, .confirm-box { flex-direction: column; }.container { margin-top: 20px; } table { display: block; overflow-x: auto; white-space: nowrap; } }
