.wcrs-app {
  --bg: var(--bg-primary);
  --surface: var(--bg-primary);
  --surface2: var(--bg-secondary);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --border: var(--border-color);
  --green: var(--brand-primary);
  --green2: var(--brand-primary);
  --blue: var(--brand-primary);
  --shadow: 0 18px 48px rgba(var(--brand-black-rgb), 0.12);
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 14px 96px 14px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  min-height: 100vh;
}

.wcrs-auth-app {
  max-width: none;
  width: 100vw;
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 28px 16px 56px 16px;
}

.wcrs-auth-shell {
  max-width: 1180px;
  margin: 0 auto;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
}

.wcrs-auth-split {
  width: 100%;
  display: grid;
  gap: 18px;
  align-items: stretch;
}

@media (min-width: 980px) {
  .wcrs-auth-split {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.wcrs-auth-left {
  border-radius: 22px;
  border: 1px solid var(--border-light);
  background: radial-gradient(900px 420px at 20% 5%, rgba(var(--brand-primary-rgb), 0.15), transparent 60%),
              radial-gradient(900px 420px at 85% 15%, rgba(var(--brand-primary-rgb), 0.10), transparent 60%),
              linear-gradient(180deg, rgba(var(--brand-white-rgb), 0.86) 0%, rgba(var(--brand-white-rgb), 0.94) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 22px;
  display: grid;
  gap: 14px;
}

.wcrs-auth-right {
  display: grid;
  gap: 14px;
  align-content: start;
}

.wcrs-hero-image {
  margin: 0;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: rgba(var(--brand-white-rgb), 0.70);
  overflow: hidden;
}

.wcrs-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.wcrs-app::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(1200px 500px at 20% 0%, rgba(var(--brand-primary-rgb), 0.08), transparent 55%),
              radial-gradient(900px 500px at 80% 10%, rgba(var(--brand-primary-rgb), 0.05), transparent 55%),
              linear-gradient(180deg, var(--bg) 0%, var(--brand-white) 100%);
  z-index: -1;
}

.wcrs-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.wcrs-label {
  display: block;
  margin: 12px 0;
}

.wcrs-label > span {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--muted);
}

.wcrs-required {
  color: var(--brand-primary);
  font-weight: 900;
}

.wcrs-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wcrs-input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  background: var(--surface);
  outline: none;
  transition: box-shadow 120ms ease, border-color 120ms ease;
}

.wcrs-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(var(--brand-primary-rgb), 0.15);
}

.wcrs-input.is-invalid {
  border-color: var(--brand-black);
  box-shadow: 0 0 0 4px rgba(var(--brand-black-rgb), 0.10);
}

.wcrs-field-error {
  margin-top: 6px;
  font-size: 13px;
  color: var(--brand-primary);
  min-height: 16px;
}

.wcrs-btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--brand-white);
  color: var(--brand-black);
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(var(--brand-black-rgb), 0.10);
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.wcrs-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(var(--brand-black-rgb), 0.14);
}

.wcrs-btn-sm {
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 10px;
  box-shadow: none;
}

.wcrs-btn-sm:hover {
  transform: none;
  box-shadow: 0 10px 18px rgba(16, 24, 40, 0.10);
}

.wcrs-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.wcrs-btn.is-loading {
  opacity: 0.8;
  pointer-events: none;
}

.wcrs-modal {
  position: fixed;
  inset: 0;
  background: rgba(var(--brand-black-rgb), 0.45);
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 99999;
}

.wcrs-modal-card {
  width: 100%;
  max-width: 520px;
  background: rgba(var(--brand-white-rgb), 0.98);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: 0 22px 64px rgba(var(--brand-black-rgb), 0.22);
  padding: 18px;
}

.wcrs-modal-title {
  font-size: 18px;
  font-weight: 950;
  margin: 0;
}

.wcrs-modal-text {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}

.wcrs-btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
}

.wcrs-btn-ghost:hover {
  transform: none;
  box-shadow: 0 6px 16px rgba(var(--brand-black-rgb), 0.08);
}

.wcrs-note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

  margin: 0;
}

.wcrs-mobile {
  display: block;
}

.wcrs-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 10px 2px;
}

.wcrs-greet-sub {
  font-size: 14px;
  color: var(--muted);
}

.wcrs-greet-name {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.wcrs-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(var(--brand-primary-rgb), 0.12);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.22);
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.wcrs-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.12);
}

.wcrs-toggle {
  width: 100%;
  border: none;
  cursor: pointer;
  border-radius: 18px;
  padding: 14px 16px;
  background: var(--brand-primary);
  color: var(--brand-white);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 44px rgba(var(--brand-primary-rgb), 0.22);
  margin-bottom: 12px;
}

.wcrs-toggle.is-on {
  background: var(--brand-primary);
}

.wcrs-toggle-knob {
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: rgba(var(--brand-white-rgb), 0.30);
  position: relative;
  flex: 0 0 auto;
}

.wcrs-toggle-knob::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--brand-white);
  transition: transform 160ms ease;
}

.wcrs-toggle.is-on .wcrs-toggle-knob::after {
  transform: translateX(16px);
}

.wcrs-toggle-text {
  font-weight: 900;
  letter-spacing: 0.06em;
}

.wcrs-panel {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

.wcrs-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wcrs-panel-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wcrs-mini-chart {
  width: 220px;
  max-width: 48%;
}

.wcrs-wallet-row {
  margin-top: 8px;
}

.wcrs-muted {
  font-size: 13px;
  color: var(--muted);
}

.wcrs-strong {
  font-weight: 800;
}

.wcrs-balance {
  font-size: 28px;
  font-weight: 900;
  margin-top: 2px;
}

.wcrs-wallet-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.wcrs-input-compact {
  max-width: 160px;
}

.wcrs-btn-green {
  background: var(--brand-primary);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.30);
  color: var(--brand-white);
  box-shadow: 0 14px 28px rgba(var(--brand-primary-rgb), 0.18);
}

.wcrs-btn-outline {
  background: transparent;
  border: 1px solid rgba(var(--brand-black-rgb), 0.20);
  color: var(--brand-black);
  box-shadow: none;
}

.wcrs-btn-outline:hover {
  box-shadow: 0 10px 18px rgba(var(--brand-black-rgb), 0.10);
}

.wcrs-earnings-label {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding: 0 2px;
}

.wcrs-earn-day {
  font-size: 11px;
  color: var(--muted);
}

.wcrs-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 8px 2px;
}

.wcrs-section-title {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.wcrs-orders {
  display: grid;
  gap: 12px;
}

.wcrs-order-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wcrs-order-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border-light);
}

.wcrs-order-id {
  font-weight: 900;
}

.wcrs-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(var(--brand-primary-rgb), 0.10);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.16);
  color: var(--brand-primary);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.wcrs-order-details {
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}

.wcrs-spacer {
  height: 6px;
}

.wcrs-map {
  height: 180px;
  border-top: 1px solid var(--border-light);
}

.wcrs-map iframe {
  width: 100%;
  height: 180px;
  border: 0;
}

.wcrs-order-actions {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px 14px;
  border-top: 1px solid var(--border-light);
  background: var(--surface2);
}

.wcrs-file {
  width: 100%;
}

.wcrs-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--brand-white);
  color: var(--brand-black);
  text-decoration: none;
  font-weight: 800;
}

.wcrs-link-btn:hover {
  box-shadow: 0 10px 18px rgba(var(--brand-black-rgb), 0.10);
}

.wcrs-empty {
  padding: 14px;
  border-radius: 16px;
  background: rgba(var(--brand-white-rgb), 0.75);
  border: 1px dashed var(--border-color);
  color: var(--muted);
}

.wcrs-view {
  display: none;
}

.wcrs-view.is-active {
  display: block;
}

.wcrs-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 980px;
  margin: 0 auto;
  background: rgba(var(--brand-white-rgb), 0.92);
  border-top: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 10px 10px 18px 10px;
  gap: 6px;
}

.wcrs-nav-btn {
  border: none;
  background: transparent;
  padding: 8px 6px;
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.wcrs-nav-btn.is-active {
  background: rgba(var(--brand-primary-rgb), 0.10);
}

.wcrs-nav-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(var(--brand-black-rgb), 0.12);
}

.wcrs-nav-btn.is-active .wcrs-nav-icon {
  background: rgba(var(--brand-primary-rgb), 0.30);
}

.wcrs-nav-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-secondary);
}

.wcrs-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.wcrs-list-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border-color);
  background: rgba(var(--brand-white-rgb), 0.85);
  border-radius: 14px;
  padding: 10px 12px;
}

.wcrs-list-title {
  font-weight: 800;
  font-size: 14px;
}

.wcrs-list-side {
  text-align: right;
}

.wcrs-amount {
  font-weight: 900;
  letter-spacing: 0.01em;
}

.wcrs-auth-grid {
  display: grid;
  gap: 14px;
}

.wcrs-auth-card {
  padding: 0;
  overflow: hidden;
}

.wcrs-auth-card-inner {
  display: grid;
}

@media (min-width: 900px) {
  .wcrs-auth-card-inner {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 520px;
  }
}

.wcrs-auth-hero {
  padding: 18px;
  background: radial-gradient(800px 380px at 25% 10%, rgba(var(--brand-primary-rgb), 0.12), transparent 60%),
              radial-gradient(800px 380px at 80% 20%, rgba(var(--brand-primary-rgb), 0.08), transparent 60%),
              linear-gradient(180deg, rgba(var(--brand-white-rgb), 0.84) 0%, rgba(var(--brand-white-rgb), 0.92) 100%);
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 900px) {
  .wcrs-auth-hero {
    border-bottom: none;
    border-right: 1px solid var(--border-light);
  }
}

.wcrs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(var(--brand-white-rgb), 0.75);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wcrs-hero-title {
  margin: 14px 0 8px 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 950;
}

.wcrs-hero-subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.wcrs-hero-list {
  margin: 14px 0 0 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.wcrs-hero-foot {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

.wcrs-auth-form {
  padding: 18px;
}

.wcrs-form-head {
  margin-bottom: 10px;
}

.wcrs-form-title {
  margin: 0;
}

@media (min-width: 900px) {
  .wcrs-auth-grid {
    grid-template-columns: 1.55fr 0.95fr;
    align-items: start;
  }
}

.wcrs-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.wcrs-actions .wcrs-btn,
.wcrs-actions .wcrs-link-btn {
  flex: 1 1 auto;
}

.wcrs-flash {
  margin-bottom: 12px;
}

.wcrs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}

.wcrs-table th,
.wcrs-table td {
  border-bottom: 1px solid var(--border-light);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.wcrs-table th {
  font-weight: 900;
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wcrs-signature {
  width: 100%;
  max-width: 520px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--brand-white);
  touch-action: none;
}
