:root {
  --taxi-yellow: #ffc400;
  --taxi-yellow-dark: #f0ae00;
  --taxi-navy: #071426;
  --taxi-ink: #0b1528;
  --taxi-muted: #63708a;
  --taxi-line: #dfe5ef;
  --taxi-soft: #f6f8fb;
  --taxi-white: #ffffff;
  --taxi-shadow: 0 24px 60px rgba(7, 20, 38, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--taxi-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--taxi-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

.public-page {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    linear-gradient(90deg, rgba(3, 10, 19, 0.54), rgba(3, 10, 19, 0.2)),
    #050b15;
}

.driver-shell {
  position: relative;
  min-height: 100vh;
  padding: 28px 0 34px;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(3, 10, 19, 0.18), rgba(3, 10, 19, 0.03) 45%, rgba(3, 10, 19, 0.36)),
    linear-gradient(90deg, rgba(3, 10, 19, 0.4), rgba(3, 10, 19, 0.02) 50%, rgba(3, 10, 19, 0.24)),
    url("../images/taxiproxi-clean-night-bg.png") center center / cover no-repeat;
  background-attachment: fixed;
}

.driver-hero {
  position: relative;
  min-height: auto;
  color: #ffffff;
  background: transparent;
  border-bottom: 0;
}

.driver-hero::after {
  display: none;
}

.hero-overlay {
  display: none;
}

.hero-overlay::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: calc(100% - 64px);
  max-width: none;
  padding: 0;
}

.hero-top,
.admin-topbar,
.panel-header,
.captcha-row,
.trust-row,
.stats-grid {
  display: flex;
}

.hero-top {
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-mark {
  flex: 0 0 auto;
  width: 116px;
  height: 116px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  color: var(--taxi-navy);
  background: linear-gradient(145deg, #ffd84d, var(--taxi-yellow));
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-tp {
  color: #08203c;
  font-size: 46px;
  font-weight: 950;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 2px 2px 0 #ffffff;
}

.brand-driver {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.small-brand {
  width: 82px;
  height: 82px;
  border-radius: 18px;
}

.small-brand .brand-tp {
  font-size: 30px;
}

.small-brand .brand-driver {
  font-size: 12px;
}

.help-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid rgba(255, 196, 0, 0.86);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(3, 10, 19, 0.38);
  font-weight: 900;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.help-pill i {
  color: var(--taxi-yellow);
  font-size: 25px;
}

.help-pill.compact {
  min-height: 44px;
  padding: 0 18px;
  box-shadow: none;
}

.hero-title-block {
  flex: 1;
  min-width: 0;
}

.hero-title-block h1 {
  margin: 0;
  color: #ffffff;
  font-size: 38px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-title-block p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  font-weight: 500;
}

.hero-title-block .title-rule {
  margin-top: 24px;
}

.section-heading h2 span,
.admin-kicker {
  color: var(--taxi-yellow);
}

.title-rule,
.heading-rule {
  width: 72px;
  height: 6px;
  margin: 18px 0 16px;
  border-radius: 999px;
  background: var(--taxi-yellow);
}

.title-rule::after,
.heading-rule::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin-left: 82px;
  border-radius: 50%;
  background: var(--taxi-yellow);
}

.hero-copy p {
  max-width: 440px;
  margin: 0;
  font-size: 24px;
  line-height: 1.55;
  font-weight: 700;
}

.recovery-section {
  position: relative;
  z-index: 3;
  margin-top: 42px;
  padding: 0;
}

.recovery-card {
  position: relative;
  width: min(890px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 72px 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
  overflow: visible;
  backdrop-filter: blur(10px);
}

.lock-badge,
.login-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--taxi-navy);
  background: radial-gradient(circle at 30% 25%, #ffe66f, var(--taxi-yellow));
}

.lock-badge {
  position: absolute;
  top: -46px;
  left: 50%;
  width: 92px;
  height: 92px;
  transform: translateX(-50%);
  border: 9px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(7, 20, 38, 0.16);
  font-size: 32px;
}

.card-dots {
  position: absolute;
  top: 48px;
  width: 92px;
  height: 44px;
  opacity: 0.8;
  background-image: radial-gradient(circle, var(--taxi-yellow) 2px, transparent 2.7px);
  background-size: 18px 14px;
}

.card-dots-left {
  left: 25%;
}

.card-dots-right {
  right: 25%;
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--taxi-navy);
  font-size: 42px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading .heading-rule {
  margin: 12px auto 18px;
}

.section-heading p {
  margin: 0;
  color: #2d3c5d;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.driver-alert,
.recovery-form,
.notice-box,
.trust-row {
  width: min(900px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.driver-alert {
  border: 0;
  border-radius: 16px;
  font-weight: 700;
}

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

.driver-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  color: var(--taxi-navy);
  font-size: 19px;
  font-weight: 900;
}

.driver-label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--taxi-navy);
  background: var(--taxi-yellow);
}

.driver-input,
.admin-input,
.search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--taxi-line);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(7, 20, 38, 0.08);
}

.driver-input {
  min-height: 62px;
  border-radius: 12px;
  overflow: hidden;
}

.driver-input.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.16);
}

.input-icon {
  width: 90px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--taxi-navy);
  background: linear-gradient(145deg, #ffd84d, var(--taxi-yellow));
  font-size: 27px;
}

.driver-input input,
.admin-input input,
.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--taxi-navy);
  background: transparent;
  font: inherit;
  font-size: 20px;
  font-weight: 650;
}

.driver-input input {
  padding: 0 28px;
}

.driver-input input::placeholder,
.admin-input input::placeholder,
.search-box input::placeholder {
  color: #8290aa;
}

.captcha-row {
  align-items: center;
  gap: 16px;
}

.captcha-display,
.captcha-refresh {
  min-height: 62px;
  border: 1px solid var(--taxi-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(7, 20, 38, 0.08);
}

.captcha-display {
  position: relative;
  flex: 1.15;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 22px;
  overflow: hidden;
}

.captcha-display::before {
  content: "";
  position: absolute;
  inset: 8px;
  opacity: 0.5;
  background-image:
    radial-gradient(circle, var(--taxi-yellow) 1.7px, transparent 2.4px),
    radial-gradient(circle, #2d72d9 1.3px, transparent 2px),
    radial-gradient(circle, #5f6b7c 1.2px, transparent 2px);
  background-position: 0 0, 15px 13px, 32px 6px;
  background-size: 38px 28px, 48px 34px, 42px 30px;
}

.captcha-display span {
  position: relative;
  z-index: 1;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: 0;
}

.captcha-refresh {
  width: 102px;
  color: var(--taxi-navy);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-weight: 900;
  line-height: 1.05;
}

.captcha-refresh i {
  font-size: 25px;
}

.captcha-input {
  flex: 1.15;
}

.captcha-input .input-icon {
  width: 76px;
  color: var(--taxi-yellow-dark);
  background: transparent;
}

.submit-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 12px;
  font-weight: 950;
}

.submit-btn {
  width: 100%;
  min-height: 64px;
  padding: 0 28px;
  color: var(--taxi-navy);
  background: linear-gradient(145deg, #ffd84d, var(--taxi-yellow-dark));
  box-shadow: 0 14px 25px rgba(240, 174, 0, 0.32);
  font-size: 22px;
  text-transform: none;
}

.submit-btn i {
  font-size: 24px;
}

.notice-box {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 14px 22px;
  border-radius: 12px;
  color: var(--taxi-navy);
  background: linear-gradient(90deg, rgba(255, 196, 0, 0.24), rgba(255, 196, 0, 0.08));
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
}

.notice-box i,
.trust-row i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--taxi-navy);
  background: var(--taxi-yellow);
}

.notice-box i {
  width: 42px;
  height: 42px;
  font-size: 20px;
}

.trust-row {
  display: none;
}

.public-trust {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(1030px, calc(100% - 40px));
  margin: 26px auto 0;
  padding: 0;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  color: #ffffff;
}

.public-trust div {
  flex: 1;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 3px 14px;
  padding: 0;
  text-align: left;
}

.public-trust div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 24px;
}

.public-trust i {
  grid-row: span 2;
  width: 62px;
  height: 62px;
  margin: 0;
  color: var(--taxi-yellow);
  border: 1px solid rgba(255, 196, 0, 0.42);
  background: rgba(6, 14, 26, 0.72);
  font-size: 26px;
}

.public-trust strong,
.public-trust span {
  display: block;
}

.public-trust strong {
  margin-bottom: 2px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
}

.public-trust span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.4;
}

.driver-footer {
  min-height: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #ffffff;
  background: linear-gradient(90deg, #050b15, #071426);
  border-radius: 30px 30px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.driver-footer i {
  color: var(--taxi-yellow);
}

.admin-login-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(5, 13, 24, 0.96), rgba(5, 13, 24, 0.68)),
    url("../images/interface-light-reference.png") center top / cover no-repeat;
}

.admin-login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 52px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0;
}

.login-visual {
  color: #ffffff;
}

.login-visual h1 {
  max-width: 590px;
  margin: 44px 0 20px;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 950;
  line-height: 1.05;
}

.login-visual p {
  max-width: 520px;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.5;
}

.login-card,
.admin-panel,
.stat-card {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--taxi-shadow);
}

.login-card {
  padding: 42px;
  border-radius: 28px;
}

.login-lock {
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
  border-radius: 50%;
  font-size: 28px;
}

.login-card h2,
.admin-topbar h1,
.admin-panel h2 {
  margin: 0;
  color: var(--taxi-navy);
  font-weight: 950;
  letter-spacing: 0;
}

.login-card p,
.admin-panel p {
  color: var(--taxi-muted);
  font-weight: 650;
}

.login-form {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.admin-label {
  display: block;
  margin: 8px 0 0;
  color: var(--taxi-navy);
  font-weight: 850;
}

.admin-input {
  min-height: 62px;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid #c8d2e3;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(7, 20, 38, 0.07);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-input:focus-within {
  border-color: var(--taxi-yellow-dark);
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.22), 0 10px 24px rgba(7, 20, 38, 0.08);
}

.admin-input i,
.search-box i {
  color: var(--taxi-yellow-dark);
  font-size: 20px;
}

.admin-input input {
  font-size: 17px;
}

.login-form .submit-btn {
  margin-top: 18px;
}

.admin-page {
  min-height: 100vh;
  background: #eef2f7;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 286px;
  padding: 28px 22px;
  color: #ffffff;
  background: linear-gradient(180deg, #061122, #0a182b);
}

.admin-sidebar .brand-mark {
  display: flex;
  margin: 0 auto;
}

.admin-nav {
  display: grid;
  gap: 8px;
  margin-top: 30px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.admin-nav a.active,
.admin-nav a:hover {
  color: var(--taxi-navy);
  background: var(--taxi-yellow);
}

.admin-main {
  margin-left: 286px;
  padding: 30px;
}

.admin-topbar {
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.admin-kicker {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-topbar h1 {
  font-size: 38px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.stat-card {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-radius: 18px;
}

.stat-card span {
  color: var(--taxi-muted);
  font-weight: 800;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--taxi-navy);
  font-size: 36px;
  font-weight: 950;
}

.stat-card i {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--taxi-navy);
  background: var(--taxi-yellow);
  font-size: 25px;
}

.admin-panel {
  padding: 24px;
  border-radius: 18px;
}

.panel-header {
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-panel h2 {
  font-size: 24px;
}

.outline-btn {
  min-height: 44px;
  padding: 0 16px;
  color: var(--taxi-navy);
  background: #ffffff;
  border: 1px solid var(--taxi-line);
}

.admin-table {
  margin-bottom: 0;
}

.admin-table thead th {
  color: #47536b;
  background: #f5f7fb;
  border-bottom: 0;
  font-size: 13px;
  text-transform: uppercase;
}

.admin-table td,
.admin-table th {
  padding: 16px;
}

.empty-state {
  padding: 34px 16px !important;
  color: var(--taxi-muted);
  text-align: center;
  font-weight: 700;
}

.admin-action {
  width: auto;
  min-height: 48px;
  padding: 0 18px;
  font-size: 16px;
}

.table-actions,
.form-actions,
.detail-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.form-panel {
  max-width: 760px;
}

.wide-form {
  max-width: 1080px;
}

.admin-form {
  display: grid;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-select,
.admin-textarea {
  width: 100%;
  border: 1px solid var(--taxi-line);
  border-radius: 12px;
  color: var(--taxi-navy);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(7, 20, 38, 0.08);
  font: inherit;
  font-weight: 650;
}

.admin-select {
  min-height: 56px;
  padding: 0 14px;
}

.admin-textarea {
  padding: 14px 16px;
  resize: vertical;
}

.code-textarea {
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.45;
}

.field-help {
  margin: 8px 0 12px;
  color: var(--taxi-muted);
  font-size: 13px;
  font-weight: 650;
}

.form-actions {
  justify-content: flex-end;
  margin-top: 24px;
}

.detail-header {
  justify-content: space-between;
  gap: 20px;
}

.detail-header h2 {
  margin: 0 0 6px;
  color: var(--taxi-navy);
  font-size: 30px;
  font-weight: 950;
}

.detail-header p {
  margin: 0;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--taxi-navy);
  font-weight: 850;
}

.check-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--taxi-yellow);
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.filters-grid input,
.filters-grid select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--taxi-line);
  border-radius: 10px;
  color: var(--taxi-navy);
  background: #ffffff;
  font: inherit;
  font-weight: 700;
}

.filters-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.api-cell {
  min-width: 150px;
  max-width: 220px;
  color: var(--taxi-muted);
  font-size: 13px;
}

.api-summary {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}

.api-status {
  color: #117447;
  font-size: 12px;
  font-weight: 900;
}

.api-recipient {
  color: var(--taxi-navy);
  font-weight: 800;
}

.api-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #cbd7e8;
  border-radius: 8px;
  color: var(--taxi-navy);
  background: #f5f8fc;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.api-view-btn:hover {
  border-color: var(--taxi-yellow-dark);
  background: #fff7d9;
}

.api-response-modal .modal-content {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(7, 20, 38, 0.28);
}

.api-response-modal .modal-header {
  align-items: flex-start;
  padding: 20px 22px;
  border-bottom-color: var(--taxi-line);
}

.api-response-modal .modal-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--taxi-yellow-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.api-response-modal .modal-title {
  margin: 0;
  color: var(--taxi-navy);
  font-size: 21px;
  font-weight: 900;
}

.api-response-modal .modal-body {
  padding: 22px;
  background: #f6f8fb;
}

.api-response-code {
  max-height: 58vh;
  margin: 0;
  padding: 18px;
  overflow: auto;
  border: 1px solid var(--taxi-line);
  border-radius: 6px;
  color: #17243a;
  background: #ffffff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.sms-cell {
  min-width: 150px;
  max-width: 320px;
  color: var(--taxi-navy);
  font-size: 13px;
}

.sms-cell summary {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--taxi-navy);
  background: #fff0bd;
  cursor: pointer;
  font-weight: 900;
}

.sms-cell details[open] summary {
  margin-bottom: 8px;
}

.sms-cell div {
  width: 300px;
  max-width: 70vw;
  padding: 12px;
  border: 1px solid var(--taxi-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 20, 38, 0.12);
  white-space: normal;
  line-height: 1.45;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.result-grid div {
  padding: 16px;
  border: 1px solid var(--taxi-line);
  border-radius: 12px;
  background: #f8fafc;
}

.result-grid strong,
.result-grid span {
  display: block;
}

.result-grid strong {
  margin-bottom: 8px;
  color: var(--taxi-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.result-grid span {
  color: var(--taxi-navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.result-wide {
  grid-column: 1 / -1;
}

.debug-pre {
  margin: 0;
  color: var(--taxi-navy);
  white-space: pre-wrap;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.provider-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.compact-check {
  margin-top: 0;
}

.sms-provider-stack {
  display: grid;
  gap: 18px;
}

.sms-provider-card {
  padding: 22px;
  border: 1px solid var(--taxi-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(7, 20, 38, 0.08);
}

.sms-provider-card.is-active {
  border-color: var(--taxi-yellow);
  box-shadow: 0 18px 40px rgba(255, 196, 0, 0.18);
}

.sms-provider-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.sms-provider-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.75fr 0.55fr 1fr;
  gap: 14px 16px;
}

.sms-provider-grid div {
  display: grid;
  gap: 7px;
}

.sms-provider-grid span {
  color: var(--taxi-muted);
  font-weight: 750;
}

.sms-provider-grid strong {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--taxi-line);
  border-radius: 10px;
  color: var(--taxi-navy);
  background: #ffffff;
  font-weight: 750;
}

.wrap-text {
  overflow-wrap: anywhere;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--taxi-navy);
  background: #e9f4ff;
  font-size: 18px;
}

.icon-btn.danger {
  color: #a30f1f;
  background: #ffe7ea;
}

.admin-userbar {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.admin-userbar > span {
  color: var(--taxi-navy);
  font-weight: 850;
}

.logout-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid rgba(7, 20, 38, 0.08);
  border-radius: 999px;
  color: var(--taxi-navy);
  background: linear-gradient(145deg, #ffd84d, var(--taxi-yellow-dark));
  box-shadow: 0 10px 22px rgba(240, 174, 0, 0.22);
  font-weight: 950;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.logout-btn i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.44);
  font-size: 17px;
}

.logout-btn:hover {
  color: var(--taxi-navy);
  background: linear-gradient(145deg, #ffe16a, var(--taxi-yellow));
  box-shadow: 0 14px 28px rgba(240, 174, 0, 0.3);
  transform: translateY(-1px);
}

.pagination-row,
.per-page-form {
  display: flex;
  align-items: center;
}

.pagination-row {
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: var(--taxi-muted);
  font-weight: 750;
}

.per-page-form select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--taxi-line);
  border-radius: 10px;
  color: var(--taxi-navy);
  background: #ffffff;
  font-weight: 750;
}

.search-box {
  width: min(360px, 100%);
  min-height: 46px;
  gap: 10px;
  padding: 0 14px;
  border-radius: 12px;
}

.search-box input {
  font-size: 16px;
}

@media (max-width: 1100px) {
  .public-page {
    overflow: auto;
  }

  .driver-shell {
    min-height: 100vh;
  }

  .hero-content {
    width: min(960px, calc(100% - 36px));
  }

  .public-trust {
    width: min(820px, calc(100% - 36px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
  }

  .public-trust div + div {
    border-left: 0;
    padding-left: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid.two-cols,
  .result-grid,
  .sms-provider-grid {
    grid-template-columns: 1fr;
  }

  .captcha-row {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .captcha-display,
  .captcha-input {
    flex: 1 1 300px;
  }
}

@media (max-width: 900px) {
  .driver-hero {
    min-height: auto;
  }

  .hero-top {
    align-items: flex-start;
  }

  .hero-title-block h1 {
    font-size: 30px;
  }

  .hero-title-block p {
    font-size: 18px;
  }

  .help-pill {
    display: none;
  }

  .admin-login-shell {
    grid-template-columns: 1fr;
  }

  .login-visual {
    display: none;
  }

  .admin-sidebar {
    position: static;
    width: auto;
  }

  .admin-main {
    margin-left: 0;
    padding: 18px;
  }
}

@media (max-width: 700px) {
  .driver-hero {
    min-height: auto;
  }

  .driver-hero::after {
    display: none;
  }

  .hero-content {
    width: min(520px, calc(100% - 24px));
    padding-top: 0;
  }

  .hero-top {
    align-items: flex-start;
    gap: 16px;
  }

  .brand-mark {
    width: 78px;
    height: 78px;
    border-radius: 18px;
  }

  .hero-title-block h1 {
    font-size: 22px;
  }

  .hero-title-block p {
    margin-top: 8px;
    font-size: 15px;
  }

  .hero-title-block .title-rule {
    margin-top: 12px;
  }

  .brand-tp {
    font-size: 30px;
  }

  .brand-driver {
    margin-top: 4px;
    font-size: 13px;
  }

  .help-pill {
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }

  .title-rule {
    margin: 14px 0 12px;
  }

  .hero-copy p {
    max-width: 360px;
    font-size: 17px;
    line-height: 1.38;
  }

  .recovery-section {
    margin-top: 24px;
  }

  .recovery-card {
    width: min(100%, calc(100% - 20px));
    padding: 58px 16px 20px;
    border-radius: 24px;
  }

  .lock-badge {
    width: 74px;
    height: 74px;
    top: -36px;
    font-size: 27px;
    border-width: 7px;
  }

  .card-dots {
    display: none;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading .heading-rule {
    margin: 14px auto 14px;
  }

  .section-heading p {
    font-size: 15px;
    line-height: 1.35;
  }

  .input-icon {
    width: 72px;
  }

  .driver-input input {
    padding: 0 16px;
    font-size: 17px;
  }

  .captcha-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px;
    gap: 10px;
  }

  .captcha-display,
  .captcha-refresh {
    min-height: 76px;
  }

  .captcha-display {
    min-width: 0;
    padding: 0 10px;
  }

  .captcha-display span {
    font-size: 36px;
  }

  .captcha-refresh {
    width: 100%;
  }

  .captcha-refresh span {
    font-size: 13px;
  }

  .captcha-input {
    grid-column: 1 / -1;
  }

  .submit-btn {
    min-height: 62px;
    padding: 0 18px;
    font-size: 17px;
  }

  .notice-box {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
  }

  .public-trust {
    display: none;
  }

  .trust-row div {
    padding: 0;
  }

  .trust-row div + div {
    border-left: 0;
    border-top: 1px solid var(--taxi-line);
    padding-top: 18px;
  }

  .driver-footer {
    display: none;
    padding: 18px;
    text-align: center;
    font-size: 15px;
  }

  .admin-topbar,
  .panel-header,
  .pagination-row,
  .detail-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-userbar {
    justify-content: space-between;
  }

  .logout-btn {
    min-height: 44px;
    padding: 0 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .filters-grid {
    grid-template-columns: 1fr;
  }

  .filters-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .filters-actions .admin-action,
  .form-actions .admin-action,
  .filters-actions .outline-btn,
  .form-actions .outline-btn {
    width: 100%;
  }
}

.admin-login-redesign {
  min-height: 100vh;
  padding: 20px;
  background:
    radial-gradient(circle at 34% 50%, rgba(255, 196, 0, 0.1), transparent 28%),
    linear-gradient(135deg, #122033, #071426 46%, #101928);
}

.admin-login-layout {
  width: min(1500px, 100%);
  min-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: minmax(380px, 0.74fr) minmax(520px, 1fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  background: #071426;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.admin-login-brand-panel,
.admin-login-form-panel {
  position: relative;
  min-height: calc(100vh - 40px);
  overflow: hidden;
}

.admin-login-brand-panel {
  display: grid;
  align-content: start;
  justify-items: center;
  padding: clamp(140px, 22vh, 210px) clamp(34px, 6vw, 74px) clamp(34px, 6vw, 74px);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(5, 14, 26, 0.48), rgba(5, 14, 26, 0.96)),
    linear-gradient(90deg, rgba(5, 14, 26, 0.98), rgba(5, 14, 26, 0.42)),
    url("../images/interface-dark-reference.png") 62% center / cover no-repeat;
}

.admin-login-brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 48% 28%, rgba(255, 196, 0, 0.13), transparent 24%),
    linear-gradient(140deg, transparent 0 46%, rgba(255, 255, 255, 0.1) 46.2%, transparent 46.8%),
    linear-gradient(130deg, transparent 0 83%, rgba(255, 255, 255, 0.12) 83.2%, transparent 83.8%);
  pointer-events: none;
}

.admin-login-logo {
  position: relative;
  z-index: 2;
  width: clamp(148px, 15vw, 212px);
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.32);
}

.admin-login-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-login-feature-row {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 7%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  gap: 32px;
}

.admin-login-feature-row span {
  position: relative;
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 10px;
  color: var(--taxi-yellow);
  background: rgba(12, 21, 35, 0.72);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.05), 0 18px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(5px);
  font-size: clamp(26px, 3vw, 42px);
}

.admin-login-feature-row span::after {
  content: "";
  position: absolute;
  left: 34%;
  right: 34%;
  bottom: -16px;
  height: 4px;
  border-radius: 999px;
  background: var(--taxi-yellow);
}

.admin-yellow-line {
  position: absolute;
  z-index: 3;
  height: 5px;
  border-radius: 999px;
  background: var(--taxi-yellow);
}

.admin-yellow-line-left {
  top: 48px;
  left: 0;
  width: 126px;
}

.admin-yellow-line-right {
  top: 80px;
  right: 42px;
  width: 76px;
}

.admin-login-diagonal {
  position: absolute;
  z-index: 1;
  width: 2px;
  height: 120%;
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(36deg);
  transform-origin: top;
}

.admin-login-diagonal-one {
  top: -15%;
  left: 31%;
}

.admin-login-diagonal-two {
  right: -1px;
  bottom: -28%;
}

.admin-login-dot-grid,
.admin-panel-dot-grid {
  position: absolute;
  z-index: 2;
  opacity: 0.72;
  background-image: radial-gradient(circle, var(--taxi-yellow) 1.35px, transparent 1.8px);
  background-size: 16px 16px;
}

.admin-login-dot-grid {
  top: 7%;
  right: 7%;
  width: 170px;
  height: 120px;
  opacity: 0.42;
}

.admin-login-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vw, 82px);
  border-radius: 64px 0 0 64px;
  background:
    radial-gradient(circle at 52% 38%, rgba(255, 196, 0, 0.05), transparent 26%),
    linear-gradient(135deg, #ffffff, #f8fafc);
}

.admin-panel-dot-grid {
  top: 58px;
  right: 104px;
  width: 72px;
  height: 58px;
  opacity: 0.4;
  background-image: radial-gradient(circle, #64748b 1.65px, transparent 2px);
}

.admin-login-card {
  position: relative;
  z-index: 3;
  width: min(606px, 100%);
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px 46px;
  border: 1px solid rgba(226, 232, 240, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.1);
}

.security-orbit {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto 22px;
}

.orbit-ring,
.security-shield {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.orbit-ring {
  border-radius: 50%;
  border: 2px solid rgba(148, 163, 184, 0.32);
}

.orbit-ring-one {
  width: 148px;
  height: 148px;
}

.orbit-ring-two {
  width: 202px;
  height: 202px;
  border-color: rgba(203, 213, 225, 0.7);
}

.security-orbit::before,
.security-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(148, 163, 184, 0.42);
  border-left-color: rgba(148, 163, 184, 0.42);
}

.security-orbit::before {
  inset: 22px;
  transform: rotate(20deg);
}

.security-orbit::after {
  inset: 44px;
  transform: rotate(150deg);
}

.orbit-dot {
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--taxi-yellow);
}

.orbit-dot-left {
  left: 19px;
  top: 101px;
}

.orbit-dot-right {
  right: 18px;
  top: 134px;
}

.security-shield {
  width: 92px;
  height: 104px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--taxi-yellow);
  background: linear-gradient(145deg, #4b5563, #111827);
  clip-path: polygon(50% 0, 92% 18%, 88% 70%, 50% 100%, 12% 70%, 8% 18%);
  font-size: 36px;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.2);
}

.security-shield::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  clip-path: polygon(50% 0, 92% 18%, 88% 70%, 50% 100%, 12% 70%, 8% 18%);
}

.security-shield i {
  position: relative;
  z-index: 1;
}

.login-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.login-progress span,
.login-progress i {
  display: block;
  border-radius: 999px;
  background: var(--taxi-yellow);
}

.login-progress span {
  width: 50px;
  height: 5px;
}

.login-progress i {
  width: 5px;
  height: 5px;
}

.admin-auth-form {
  gap: 34px;
  margin-top: 0;
}

.admin-auth-field {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
}

.admin-auth-icon {
  width: 56px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(145deg, #0f1d31, #050b15);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
  font-size: 30px;
}

.admin-auth-field input {
  width: 100%;
  min-width: 0;
  height: 60px;
  padding: 0 18px;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  color: var(--taxi-navy);
  background: #ffffff;
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.03);
  font: inherit;
  font-size: 17px;
  font-weight: 650;
  outline: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-auth-field input:focus {
  border-color: var(--taxi-yellow-dark);
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.2);
}

.admin-auth-field input::placeholder {
  color: #94a3b8;
}

.admin-auth-field-password {
  grid-template-columns: 56px minmax(0, 1fr);
}

.admin-auth-field-password input {
  grid-column: 2;
  grid-row: 1;
  padding-right: 54px;
}

.admin-password-toggle {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: 48px;
  height: 48px;
  margin-right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: #64748b;
  background: transparent;
  font-size: 22px;
}

.admin-password-toggle:hover,
.admin-password-toggle:focus-visible {
  color: var(--taxi-navy);
  outline: 0;
}

.admin-login-submit {
  width: 100%;
  min-height: 66px;
  margin-top: 2px;
  border-radius: 8px;
  color: var(--taxi-navy);
  background: linear-gradient(180deg, #ffd43b, #f8b900);
  box-shadow: 0 18px 30px rgba(248, 185, 0, 0.28);
  font-size: 28px;
}

.admin-login-submit i {
  font-size: 28px;
}

.admin-login-divider {
  display: grid;
  grid-template-columns: 1fr 58px 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 58px;
  color: var(--taxi-navy);
}

.admin-login-divider span {
  height: 1px;
  background: #dce4ee;
}

.admin-login-divider i {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  font-size: 28px;
}

.admin-login-card .alert {
  margin: 0 0 22px;
  border: 0;
  border-radius: 10px;
  font-weight: 750;
}

@media (max-width: 1100px) {
  .admin-login-layout {
    grid-template-columns: minmax(310px, 0.78fr) minmax(430px, 1fr);
  }

  .admin-login-form-panel {
    padding: 38px;
    border-radius: 44px 0 0 44px;
  }

  .admin-login-card {
    min-height: 610px;
    padding: 34px 34px 38px;
  }

  .security-orbit {
    width: 196px;
    height: 196px;
  }

  .orbit-ring-two {
    width: 168px;
    height: 168px;
  }

  .security-shield {
    width: 78px;
    height: 88px;
  }
}

@media (min-width: 821px) {
  .admin-login-redesign {
    overflow: hidden;
  }
}

@media (min-width: 821px) and (max-height: 980px) {
  .admin-login-form-panel {
    padding: 38px clamp(40px, 5vw, 66px);
  }

  .admin-login-card {
    min-height: 0;
    height: min(720px, calc(100vh - 96px));
    padding: 30px 48px 34px;
    justify-content: center;
  }

  .security-orbit {
    width: 200px;
    height: 200px;
    margin-bottom: 16px;
  }

  .orbit-ring-one {
    width: 126px;
    height: 126px;
  }

  .orbit-ring-two {
    width: 168px;
    height: 168px;
  }

  .security-shield {
    width: 78px;
    height: 88px;
    font-size: 31px;
  }

  .login-progress {
    margin-bottom: 28px;
  }

  .admin-auth-form {
    gap: 24px;
  }

  .admin-login-divider {
    margin-top: 38px;
  }
}

@media (min-width: 821px) and (max-height: 820px) {
  .admin-login-redesign {
    padding: 10px 20px;
    overflow: hidden;
  }

  .admin-login-layout,
  .admin-login-brand-panel,
  .admin-login-form-panel {
    min-height: calc(100vh - 20px);
  }

  .admin-login-brand-panel {
    padding-top: clamp(92px, 17vh, 132px);
  }

  .admin-login-logo {
    width: clamp(132px, 13vw, 176px);
    border-radius: 26px;
  }

  .admin-login-feature-row {
    left: 17%;
    right: 17%;
    bottom: 5%;
  }

  .admin-login-feature-row span {
    max-width: 108px;
    justify-self: center;
  }

  .admin-login-form-panel {
    padding: 24px clamp(34px, 5vw, 66px);
  }

  .admin-login-card {
    min-height: 0;
    height: min(620px, calc(100vh - 88px));
    padding: 22px 48px 26px;
    justify-content: center;
  }

  .security-orbit {
    width: 150px;
    height: 150px;
    margin-bottom: 12px;
  }

  .orbit-ring-one {
    width: 94px;
    height: 94px;
  }

  .orbit-ring-two {
    width: 126px;
    height: 126px;
  }

  .security-orbit::before {
    inset: 14px;
  }

  .security-orbit::after {
    inset: 28px;
  }

  .security-shield {
    width: 56px;
    height: 64px;
    font-size: 24px;
  }

  .security-shield::before {
    inset: 7px;
    border-width: 2px;
  }

  .orbit-dot-left {
    left: 9px;
    top: 65px;
  }

  .orbit-dot-right {
    right: 8px;
    top: 85px;
  }

  .login-progress {
    margin-bottom: 22px;
  }

  .admin-auth-form {
    gap: 18px;
  }

  .admin-auth-icon,
  .admin-auth-field input {
    height: 54px;
  }

  .admin-auth-icon {
    width: 54px;
    font-size: 26px;
  }

  .admin-login-submit {
    min-height: 58px;
  }

  .admin-login-divider {
    grid-template-columns: 1fr 46px 1fr;
    margin-top: 28px;
  }

  .admin-login-divider i {
    width: 46px;
    height: 46px;
    font-size: 23px;
  }
}

@media (max-width: 820px) {
  .admin-login-redesign {
    padding: 10px;
  }

  .admin-login-layout {
    min-height: calc(100vh - 20px);
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .admin-login-brand-panel,
  .admin-login-form-panel {
    min-height: auto;
  }

  .admin-login-brand-panel {
    min-height: 360px;
    padding: 36px 22px 108px;
    align-content: center;
    background-position: center;
  }

  .admin-login-form-panel {
    margin-top: -50px;
    padding: 36px 18px 26px;
    border-radius: 34px 34px 0 0;
  }

  .admin-login-feature-row {
    left: 14%;
    right: 14%;
    bottom: 28px;
    gap: 16px;
  }

  .admin-login-card {
    min-height: auto;
    padding: 28px 20px 30px;
    border-radius: 16px;
  }

  .security-orbit {
    width: 168px;
    height: 168px;
    margin-bottom: 12px;
  }

  .orbit-ring-one {
    width: 108px;
    height: 108px;
  }

  .orbit-ring-two {
    width: 142px;
    height: 142px;
  }

  .security-shield {
    width: 68px;
    height: 78px;
    font-size: 28px;
  }

  .login-progress {
    margin-bottom: 26px;
  }

  .admin-auth-form {
    gap: 20px;
  }

  .admin-auth-field {
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 12px;
  }

  .admin-auth-icon {
    width: 50px;
    height: 54px;
    font-size: 25px;
  }

  .admin-auth-field input {
    height: 54px;
    font-size: 15px;
  }

  .admin-login-submit {
    min-height: 58px;
  }

  .admin-login-divider {
    margin-top: 34px;
  }
}

@media (max-width: 480px) {
  .admin-login-brand-panel {
    min-height: 300px;
  }

  .admin-login-logo {
    width: 118px;
    border-radius: 22px;
  }

  .admin-login-feature-row {
    left: 22px;
    right: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .admin-login-feature-row span {
    min-width: 0;
  }

  .admin-panel-dot-grid,
  .admin-yellow-line-right {
    display: none;
  }

  .admin-login-card {
    padding: 24px 14px 26px;
  }

  .admin-auth-field,
  .admin-auth-field-password {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 10px;
  }

  .admin-auth-icon {
    width: 46px;
  }
}

/* Admin login mockup override */
.admin-login-redesign {
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background: #061120;
}

.admin-login-redesign .admin-login-layout {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(580px, 1fr) minmax(640px, 0.98fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #071426;
  box-shadow: none;
}

.admin-login-redesign .admin-login-brand-panel,
.admin-login-redesign .admin-login-form-panel {
  min-height: 100vh;
}

.admin-login-redesign .admin-login-brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 64px 56px 70px;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 42%, rgba(255, 196, 0, 0.16), transparent 24%),
    linear-gradient(180deg, #071426 0%, #061120 64%, #050b15 100%);
  overflow: hidden;
}

.admin-login-redesign .admin-login-brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 10, 22, 0.94), rgba(2, 10, 22, 0.54) 58%, rgba(2, 10, 22, 0.9)),
    linear-gradient(180deg, rgba(2, 10, 22, 0.12), rgba(2, 10, 22, 0.78)),
    radial-gradient(circle at 18% 12%, rgba(255, 196, 0, 0.16), transparent 15%),
    radial-gradient(circle at 75% 55%, rgba(255, 196, 0, 0.1), transparent 25%);
  z-index: 1;
  pointer-events: none;
}

.admin-login-redesign .admin-login-brand-panel::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 58%;
  background: url("../images/interface-dark-reference.png") 94% 18% / 240% auto no-repeat;
  opacity: 0.95;
  z-index: 0;
  pointer-events: none;
}

.admin-login-redesign .admin-login-logo {
  position: relative;
  z-index: 2;
  width: 122px;
  height: 122px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 32px rgba(255, 196, 0, 0.18), 0 18px 36px rgba(0, 0, 0, 0.38);
}

.admin-login-redesign .admin-login-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-login-help {
  position: absolute;
  z-index: 3;
  top: 58px;
  right: 42px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  border: 1px solid rgba(255, 196, 0, 0.55);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(6, 17, 32, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  font-size: 17px;
  font-weight: 850;
  backdrop-filter: blur(6px);
}

.admin-login-help i {
  color: var(--taxi-yellow);
  font-size: 25px;
}

.admin-login-copy {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin-top: auto;
  margin-bottom: 58px;
}

.admin-login-rule {
  display: block;
  width: 60px;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--taxi-yellow);
}

.admin-login-rule-short {
  width: 58px;
  margin: 16px 0 20px;
}

.admin-login-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(46px, 4.2vw, 64px);
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: 0;
}

.admin-login-copy h1 span {
  color: var(--taxi-yellow);
}

.admin-login-copy p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
}

.admin-login-redesign .admin-login-feature-row {
  position: relative;
  z-index: 2;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.admin-login-redesign .admin-login-feature-row div {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(6, 17, 32, 0.62);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.05), 0 16px 36px rgba(0, 0, 0, 0.22);
  text-align: center;
  backdrop-filter: blur(5px);
}

.admin-login-redesign .admin-login-feature-row div::after {
  content: "";
  width: 44px;
  height: 4px;
  margin-top: 20px;
  border-radius: 999px;
  background: var(--taxi-yellow);
}

.admin-login-redesign .admin-login-feature-row i {
  color: var(--taxi-yellow);
  font-size: 42px;
}

.admin-login-redesign .admin-login-feature-row strong {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 900;
}

.admin-login-redesign .admin-login-feature-row span {
  position: static;
  display: block;
  margin-top: 10px;
  width: auto;
  min-width: 0;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  font-size: 14px;
  line-height: 1.45;
}

.admin-login-redesign .admin-login-feature-row span::after {
  display: none;
}

.admin-login-redesign .admin-login-form-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
  border-radius: 0;
  background: #071426;
}

.admin-login-redesign .admin-login-card {
  position: relative;
  z-index: 2;
  width: min(730px, 100%);
  min-height: min(760px, calc(100vh - 104px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 54px;
  border: 1px solid #eef2f7;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.admin-login-redesign .admin-panel-dot-grid {
  top: 110px;
  right: 110px;
  width: 76px;
  height: 56px;
  opacity: 0.38;
  background-image: radial-gradient(circle, #94a3b8 1.7px, transparent 2.2px);
  background-size: 16px 16px;
}

.admin-login-redesign .admin-yellow-line-right {
  top: 132px;
  right: 70px;
  width: 75px;
  height: 5px;
}

.admin-login-redesign .security-orbit {
  width: 168px;
  height: 168px;
  margin: 0 auto 10px;
}

.admin-login-redesign .orbit-ring-one {
  width: 106px;
  height: 106px;
}

.admin-login-redesign .orbit-ring-two {
  width: 144px;
  height: 144px;
}

.admin-login-redesign .security-orbit::before {
  inset: 13px;
}

.admin-login-redesign .security-orbit::after {
  inset: 28px;
}

.admin-login-redesign .security-shield {
  width: 74px;
  height: 84px;
  font-size: 29px;
}

.admin-login-redesign .orbit-dot-left {
  left: 9px;
  top: 74px;
}

.admin-login-redesign .orbit-dot-right {
  right: 8px;
  top: 102px;
}

.admin-login-redesign .login-progress {
  margin: 6px 0 20px;
}

.admin-login-heading {
  margin-bottom: 30px;
  text-align: center;
}

.admin-login-heading h1 {
  margin: 0;
  color: var(--taxi-navy);
  font-size: 34px;
  font-weight: 950;
  line-height: 1.1;
}

.admin-login-heading p {
  margin: 10px 0 0;
  color: #334155;
  font-size: 19px;
  font-weight: 500;
}

.admin-login-redesign .admin-auth-form {
  gap: 18px;
  margin-top: 0;
}

.admin-login-redesign .admin-auth-field {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}

.admin-login-redesign .admin-auth-icon {
  width: 66px;
  height: 66px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(145deg, #0f1d31, #050b15);
  font-size: 30px;
}

.admin-login-redesign .admin-auth-field input {
  height: 66px;
  border: 1px solid #d4dce8;
  border-radius: 8px;
  color: var(--taxi-navy);
  font-size: 18px;
  font-weight: 750;
}

.admin-login-redesign .admin-auth-field input::placeholder {
  color: #94a3b8;
  font-weight: 800;
}

.admin-login-options {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin: 2px 0 10px;
  color: #334155;
  font-size: 16px;
  font-weight: 650;
}

.admin-login-options label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.admin-login-options input {
  width: 22px;
  height: 22px;
  accent-color: var(--taxi-yellow);
}

.admin-login-options a {
  color: #0b58c8;
  font-weight: 650;
}

.admin-login-redesign .admin-login-submit {
  min-height: 68px;
  gap: 14px;
  border-radius: 8px;
  color: var(--taxi-navy);
  background: linear-gradient(180deg, #ffd943, #f3b200);
  box-shadow: 0 16px 26px rgba(243, 178, 0, 0.28);
  font-size: 21px;
  font-weight: 950;
}

.admin-login-redesign .admin-login-submit i {
  font-size: 26px;
}

.admin-login-redesign .admin-login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin: 42px 0 28px;
  color: #94a3b8;
  font-style: normal;
  font-weight: 850;
}

.admin-login-redesign .admin-login-divider span {
  height: 1px;
  background: #dce4ee;
}

.admin-login-redesign .admin-login-divider em {
  font-style: normal;
}

.admin-language-btn {
  min-height: 60px;
  width: min(395px, 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  align-self: center;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  color: #1f2937;
  background: #ffffff;
  font-size: 17px;
  font-weight: 850;
}

.admin-language-btn i {
  font-size: 25px;
}

@media (max-width: 1180px) {
  .admin-login-redesign .admin-login-layout {
    grid-template-columns: minmax(460px, 0.9fr) minmax(560px, 1fr);
  }

  .admin-login-redesign .admin-login-brand-panel {
    padding: 48px 38px 48px;
  }

  .admin-login-redesign .admin-login-feature-row {
    gap: 18px;
  }
}

@media (max-width: 960px) {
  .admin-login-redesign {
    overflow: auto;
  }

  .admin-login-redesign .admin-login-layout {
    grid-template-columns: 1fr;
  }

  .admin-login-redesign .admin-login-brand-panel {
    min-height: 560px;
  }

  .admin-login-help {
    right: 28px;
  }

  .admin-login-redesign .admin-login-form-panel {
    min-height: auto;
    margin-top: 0;
    padding: 28px 18px;
  }

  .admin-login-redesign .admin-login-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .admin-login-redesign .admin-login-brand-panel {
    min-height: 470px;
    padding: 28px 18px 30px;
  }

  .admin-login-redesign .admin-login-logo {
    width: 92px;
    height: 92px;
  }

  .admin-login-help {
    top: 32px;
    right: 18px;
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .admin-login-copy {
    margin-bottom: 24px;
  }

  .admin-login-copy h1 {
    font-size: 34px;
  }

  .admin-login-copy p {
    font-size: 16px;
  }

  .admin-login-redesign .admin-login-feature-row {
    gap: 10px;
  }

  .admin-login-redesign .admin-login-feature-row div {
    min-height: 118px;
    padding: 14px 8px;
  }

  .admin-login-redesign .admin-login-feature-row i {
    font-size: 26px;
  }

  .admin-login-redesign .admin-login-feature-row strong {
    margin-top: 8px;
    font-size: 13px;
  }

  .admin-login-redesign .admin-login-feature-row span {
    display: none;
  }

  .admin-login-redesign .admin-login-card {
    padding: 28px 16px;
    border-radius: 22px;
  }

  .admin-login-redesign .admin-auth-field {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .admin-login-redesign .admin-auth-icon,
  .admin-login-redesign .admin-auth-field input {
    height: 56px;
  }

  .admin-login-redesign .admin-auth-icon {
    width: 52px;
  }

  .admin-login-options {
    align-items: flex-start;
    flex-direction: column;
  }
}
