.page-account main {
  background: #eef1f5;
}

.account-section {
  padding: 1.75rem 0 3.5rem;
}

.account-layout {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.account-sidebar {
  position: sticky;
  top: 88px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.account-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.account-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  color: #334155;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-right: 3px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.account-sidebar__link:hover,
.account-sidebar__link:focus-visible {
  background: #f8fafc;
  color: #0f172a;
}

.account-sidebar__link.is-active {
  background: #eef4ff;
  color: #1d4ed8;
  border-right-color: #2563eb;
  font-weight: 700;
}

button.account-sidebar__link {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-align: inherit;
}

.account-sidebar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #64748b;
}

.account-sidebar__link.is-active .account-sidebar__icon {
  color: #2563eb;
}

.account-sidebar__icon svg {
  width: 18px;
  height: 18px;
}

.account-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.account-profile-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.6rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.account-profile-banner__user {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.account-profile-banner__avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}

.account-profile-banner__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8f1fb 0%, #dbeafe 100%);
  border: 1px solid rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-profile-banner__avatar:hover,
.account-profile-banner__avatar:focus-within {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.account-profile-banner__avatar.is-uploading {
  pointer-events: none;
  opacity: 0.72;
}

.account-profile-banner__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-profile-banner__avatar-img--default {
  object-fit: contain;
  padding: 4px;
  background: #fff;
}

.account-profile-banner__avatar-edit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.42);
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.account-profile-banner__avatar:hover .account-profile-banner__avatar-edit,
.account-profile-banner__avatar:focus-within .account-profile-banner__avatar-edit {
  opacity: 1;
}

.account-profile-banner__avatar-edit svg {
  width: 18px;
  height: 18px;
}

.account-profile-banner__avatar-flash {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 180px;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #0f172a;
}

.account-profile-banner__avatar-flash.is-error {
  color: #dc2626;
}

.account-profile-banner__avatar-flash.is-success {
  color: #16a34a;
}

.account-profile-banner__avatar-remove {
  position: absolute;
  left: -4px;
  bottom: -4px;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
  transition: background 0.15s ease, transform 0.15s ease;
}

.account-profile-banner__avatar-remove:hover,
.account-profile-banner__avatar-remove:focus-visible {
  background: #dc2626;
  transform: scale(1.05);
}

.account-profile-banner__avatar-remove svg {
  width: 12px;
  height: 12px;
}

.account-profile-banner__avatar svg {
  width: 28px;
  height: 28px;
}

.account-profile-banner__name {
  display: block;
  font-size: 1.05rem;
  color: #0f172a;
}

.account-profile-banner__name-row {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
  max-width: 100%;
}

.account-profile-banner__name-row .account-profile-banner__name {
  margin-bottom: 0;
  min-width: 0;
}

.account-nickname-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #3b82f6;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.15s ease, color 0.15s ease;
}

.account-nickname-edit svg {
  width: 15px;
  height: 15px;
}

.account-nickname-edit:hover {
  background: #eff6ff;
  color: #2563eb;
}

.account-profile-banner__phone {
  display: block;
  font-size: 0.88rem;
  color: #64748b;
}

.account-profile-banner__wallet {
  text-align: left;
}

.account-profile-banner__wallet-label {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.account-profile-banner__wallet-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.account-profile-banner__wallet-amount {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.account-profile-banner__wallet-link {
  color: #2563eb;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.account-profile-banner__wallet-link:hover {
  color: #1d4ed8;
}

.account-panel {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.account-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.account-panel__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.account-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f4f7fb;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #52607a;
  flex-shrink: 0;
}

.account-panel__icon svg {
  width: 17px;
  height: 17px;
}

.account-panel__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.account-panel__body {
  padding: 0.25rem 1.25rem 1.25rem;
}

.account-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.account-field-row:last-child {
  border-bottom: 0;
}

.account-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  padding-top: 0.75rem;
  align-items: start;
}

.account-field-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
}

.account-field-cell + .account-field-cell {
  border-inline-start: 1px solid rgba(15, 23, 42, 0.08);
  padding-inline-start: 0.85rem;
}

.account-field-cell__content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  min-width: 0;
  width: 100%;
}

@media (max-width: 900px) {
  .account-field-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }

  .account-field-cell {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .account-field-cell + .account-field-cell {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .account-field-cell:last-child {
    border-bottom: 0;
  }

  .account-field-cell__content {
    flex: 1;
    flex-wrap: nowrap;
  }
}

.account-field-row__main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
}

.account-field-row__label {
  display: inline;
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin: 0;
  white-space: nowrap;
}

.account-field-row__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-field-row__value--muted {
  color: #64748b;
  letter-spacing: 0.12em;
}

.account-required {
  color: #ef4444;
}

.account-field-optional {
  font-size: 0.76rem;
  font-weight: 500;
  color: #94a3b8;
}

.account-badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
}

.account-badge--success {
  background: #ecfdf5;
  color: #047857;
}

.account-link-btn {
  display: inline-flex;
  align-items: center;
  border: none;
  background: transparent;
  color: #3b82f6;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.15rem 0;
  line-height: 1.4;
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.account-link-btn:hover,
.account-link-btn:focus-visible {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-link-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.account-edit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0.4rem 0.95rem;
  border: 1px solid #c7daf5;
  border-radius: 10px;
  background: #f8fbff;
  color: #2f74d0;
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(47, 116, 208, 0.06);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}

.account-edit-link__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.account-edit-link:hover,
.account-edit-link:focus-visible {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #7eb3f0;
  box-shadow: 0 2px 6px rgba(47, 116, 208, 0.1);
  text-decoration: none;
}

.account-panel__actions {
  padding-top: 0.75rem;
}

.account-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid #3b82f6;
  border-radius: 10px;
  background: #fff;
  color: #3b82f6;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.account-outline-btn--compact {
  padding: 0.4rem 0.85rem;
  font-size: 0.84rem;
}

.account-outline-btn:hover {
  background: #eff6ff;
}

.account-outline-btn svg,
.account-outline-btn__icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.account-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  padding-top: 0.75rem;
}

.account-panel__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-panel__grid--rows {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  padding-top: 0.75rem;
  align-items: start;
}

.account-panel__grid--rows .account-info-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0;
  min-width: 0;
  border-bottom: 0;
}

.account-panel__grid--rows .account-info-item + .account-info-item {
  border-inline-start: 1px solid rgba(15, 23, 42, 0.08);
  padding-inline-start: 0.85rem;
}

.account-panel__grid--rows .account-info-item:last-child {
  border-bottom: 0;
}

.account-info-item__label {
  display: block;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.account-info-item__value {
  display: block;
  font-size: 0.95rem;
  color: #111827;
  font-weight: 600;
  word-break: break-word;
}

.account-info-item__value--ltr {
  direction: ltr;
  text-align: right;
}

.account-panel__grid--rows .account-info-item__label {
  display: block;
  margin: 0;
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
}

.account-panel__grid--rows .account-info-item__value {
  display: block;
  width: 100%;
  min-width: 0;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1100px) {
  .account-panel__grid--rows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-panel__grid--rows .account-info-item + .account-info-item {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .account-panel__grid--rows .account-info-item:not(:nth-child(3n + 1)) {
    border-inline-start: 1px solid rgba(15, 23, 42, 0.08);
    padding-inline-start: 0.85rem;
  }
}

@media (max-width: 720px) {
  .account-panel__grid--rows {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .account-panel__grid--rows .account-info-item {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .account-panel__grid--rows .account-info-item + .account-info-item,
  .account-panel__grid--rows .account-info-item:not(:nth-child(3n + 1)) {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .account-panel__grid--rows .account-info-item:last-child {
    border-bottom: 0;
  }

  .account-panel__grid--rows .account-info-item__label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
  }
}

.account-page-head__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: #0f172a;
}

.account-page-head__lead {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}

.account-empty,
.account-panel .account-support-text {
  color: #64748b;
}

.account-empty {
  padding: 2rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
}

.account-support-actions,
.account-empty .btn {
  margin-top: 1rem;
}

.account-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.account-wallet-summary {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.account-wallet-summary__label {
  color: #64748b;
  font-size: 0.86rem;
}

.account-wallet-summary__amount {
  font-size: 1.35rem;
  color: #0f172a;
}

.account-trips,
.trips-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trips-filter-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.35rem 1.1rem;
  margin-bottom: 1rem;
}

.trips-filter-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 1rem 1.25rem;
  align-items: end;
}

.trips-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.trips-filter-field__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.trips-search-field {
  position: relative;
  display: block;
}

.trips-search-field__input,
.trips-filter-field__select,
.trips-date-range__input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.trips-search-field__input,
.trips-date-range__input {
  padding: 0.65rem 2.75rem 0.65rem 0.9rem;
}

.trips-filter-field__select {
  padding: 0.65rem 0.9rem;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position: calc(12px) calc(50% + 1px), calc(18px) calc(50% + 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-left: 2rem;
}

.trips-search-field__input:focus,
.trips-filter-field__select:focus,
.trips-date-range__input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.trips-search-field__input::placeholder,
.trips-date-range__input::placeholder {
  color: #94a3b8;
}

.trips-search-field__icon {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.trips-search-field__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.trips-date-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
}

.trips-date-range__sep {
  font-size: 0.82rem;
  color: #64748b;
}

.trips-date-range__input {
  padding: 0.65rem 0.75rem;
  text-align: center;
}

.trips-filter-card__actions {
  margin-top: 0.85rem;
  display: flex;
  justify-content: flex-end;
}

.trips-clear-filters {
  font-size: 0.84rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.trips-clear-filters:hover {
  text-decoration: underline;
}

.trip-order-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 1.15rem 1.35rem 1rem;
  overflow: hidden;
}

.trip-order-card__status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.trip-order-card__status--approved,
.trip-order-card__status--registered {
  background: #e8f7ee;
  color: #15803d;
}

.trip-order-card__status--pending {
  background: #fff7ed;
  color: #c2410c;
}

.trip-order-card__status--rejected {
  background: #fef2f2;
  color: #b91c1c;
}

.trip-order-card__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-left: 6.5rem;
  min-height: 3.25rem;
}

.trip-order-card__type {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 600;
}

.trip-order-card__type-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trip-order-card__type-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.trip-order-card__type-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  color: #64748b;
}

.trip-order-card__route {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.trip-order-card__route-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
}

.trip-order-card__route-date {
  font-size: 0.84rem;
  color: #64748b;
}

.trip-order-card__divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.08);
  margin: 0.95rem 0 0.85rem;
}

.trip-order-card__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
  gap: 1rem;
  align-items: center;
}

.trip-order-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.trip-order-card__meta-label {
  font-size: 0.78rem;
  color: #94a3b8;
}

.trip-order-card__meta-value {
  font-size: 0.9rem;
  color: #0f172a;
  font-weight: 700;
}

.trip-order-card__detail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #3b82f6;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.trip-order-card__detail-link svg {
  width: 16px;
  height: 16px;
}

.trip-order-card__detail-link:hover {
  color: #2563eb;
}

.trips-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0 0.25rem;
}

.trips-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 0.5rem;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.trips-pagination__btn svg {
  width: 16px;
  height: 16px;
}

.trips-pagination__btn.is-active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

.trips-pagination__btn:hover:not(.is-active) {
  border-color: #3b82f6;
  color: #3b82f6;
}

.trips-empty {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #64748b;
}

.trips-empty p {
  margin: 0 0 1rem;
}

.account-trip-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
}

.account-trip-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #0f172a;
}

.account-trip-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: #64748b;
}

.account-trip-card__status--approved {
  color: #047857;
}

.account-trip-card__status--pending {
  color: #b45309;
}

.account-trip-card__status--rejected {
  color: #b91c1c;
}

/* Modals */
body.account-modal-open {
  overflow: hidden;
}

.account-modals {
  position: relative;
  z-index: 1200;
}

.account-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1200;
}

.account-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.account-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.account-modal__dialog {
  position: relative;
  width: min(100%, 720px);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  padding: 1.75rem 1.75rem 1.5rem;
}

.account-modal__dialog--sm {
  width: min(100%, 460px);
  padding: 2rem 1.75rem 1.5rem;
}

.account-modal__dialog--md {
  width: min(100%, 560px);
  padding: 1.75rem 1.75rem 1.5rem;
}

.account-modal__dialog--lg {
  width: min(100%, 860px);
  padding: 0;
}

.account-modal__close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.account-modal__close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.account-modal__close svg {
  width: 20px;
  height: 20px;
}

.account-modal__head {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-top: 0.25rem;
}

.account-modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.account-modal__lead {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.7;
}

.account-modal__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-modal__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.account-modal__hint {
  margin: -0.25rem 0 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

.account-modal__submit {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: #7fbbed;
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.account-modal__submit:hover {
  background: #5fa8e4;
}

.account-modal__submit--nickname {
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.account-modal__submit--nickname.is-muted {
  background: #e8edf3;
  color: #94a3b8;
  font-weight: 600;
  box-shadow: none;
}

.account-modal__submit--nickname.is-muted:hover {
  background: #dbe3ee;
  color: #64748b;
}

.account-modal__submit--nickname:not(.is-muted) {
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.32);
}

.account-modal__submit--nickname:not(.is-muted):hover {
  background: #1d4ed8;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.38);
}

.account-modal__submit.is-muted {
  background: #e8edf3;
  color: #94a3b8;
  font-weight: 600;
}

.account-modal__submit.is-muted:hover {
  background: #dbe3ee;
  color: #64748b;
}

.account-modal__dialog--avatar-crop {
  width: min(100%, 420px);
}

.account-avatar-crop {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.account-avatar-crop__viewport {
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #0f172a;
  touch-action: none;
  user-select: none;
  isolation: isolate;
}

.account-avatar-crop__image {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  max-height: none;
  will-change: left, top, width, height;
  pointer-events: none;
  z-index: 1;
}

.account-avatar-crop__mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.52);
  -webkit-mask-image: radial-gradient(
    circle at center,
    transparent calc(50% - 12% + 1px),
    #000 calc(50% - 12% + 1px)
  );
  mask-image: radial-gradient(
    circle at center,
    transparent calc(50% - 12% + 1px),
    #000 calc(50% - 12% + 1px)
  );
}

.account-avatar-crop__frame {
  position: absolute;
  inset: 12%;
  border: 2px solid #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  box-shadow: none;
}

.account-avatar-crop__drag {
  position: absolute;
  inset: 0;
  z-index: 4;
  cursor: grab;
  touch-action: none;
  background: transparent;
}

.account-avatar-crop__viewport.is-dragging .account-avatar-crop__drag {
  cursor: grabbing;
}

.account-avatar-crop__zoom {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  color: #475569;
  font-size: 0.9rem;
}

.account-avatar-crop__zoom input[type='range'] {
  width: 100%;
  accent-color: #2563eb;
}

.account-avatar-crop__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.account-avatar-crop__actions .account-modal__submit {
  min-width: 140px;
}

.account-avatar-crop__actions .account-btn {
  min-width: 96px;
}

.account-modal__flash {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
}

.account-modal__flash.is-error {
  color: #b91c1c;
}

.account-modal__flash.is-success {
  color: #047857;
}

.account-float-field {
  position: relative;
  display: block;
}

.account-float-field__label {
  position: absolute;
  top: -0.55rem;
  right: 0.85rem;
  padding: 0 0.35rem;
  background: #fff;
  font-size: 0.78rem;
  color: #64748b;
  z-index: 1;
}

.account-float-field__input {
  width: 100%;
  border: 1px solid #d7dee8;
  border-radius: 10px;
  padding: 0.95rem 1rem;
  font-family: var(--font);
  font-size: 0.92rem;
  color: #0f172a;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.account-float-field__input:focus {
  border-color: #7fbbed;
  box-shadow: 0 0 0 3px rgba(127, 187, 237, 0.2);
}

.account-float-field__input.is-error {
  border-color: #ef4444;
}

.account-float-field__input.is-error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}

.account-float-field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-left: 2rem;
}

.account-float-field--phone,
.account-float-field--iban,
.account-float-field--password {
  position: relative;
}

.account-phone-prefix,
.account-iban-prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.9rem;
  padding-left: 0.75rem;
  border-left: 1px solid #d7dee8;
  line-height: 1;
}

.account-float-field__input--phone,
.account-float-field__input--iban {
  padding-left: 4.5rem;
  text-align: left;
}

.account-password-toggle {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-password-toggle svg {
  width: 20px;
  height: 20px;
}

.account-float-field--password .account-float-field__input {
  padding-left: 2.75rem;
}

.account-modal__panel-head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.account-modal__panel-sub {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 400;
  line-height: 1.6;
}

.account-modal__panel-body {
  padding: 1.25rem 1.5rem 0;
}

.account-modal__panel-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem 1.25rem;
  margin-top: 1rem;
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.account-btn {
  border-radius: 10px;
  padding: 0.65rem 1.35rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}

.account-btn--primary {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

.account-btn--primary:hover {
  background: #2563eb;
}

.account-btn--outline {
  background: #fff;
  color: #3b82f6;
  border-color: #3b82f6;
}

.account-form-grid {
  display: grid;
  gap: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.account-form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-form-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.passenger-passport-grid {
  margin-bottom: 0;
  gap: 0.75rem 0.85rem;
  align-items: end;
  grid-template-columns: 1.62fr 0.82fr 0.7fr 1.18fr;
}

.passenger-passport-grid > .account-float-field--passport-country .account-float-field__label {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #fafbfc;
  z-index: 2;
}

.passenger-passport-grid > .account-float-field--passport-country .account-float-field__select {
  padding-left: 2rem;
  padding-right: 0.75rem;
  text-align: right;
  text-align-last: right;
  background-position: left 0.75rem center;
  font-size: 0.88rem;
}

.passenger-required-grid .account-birth-group,
.passenger-passport-grid .account-birth-group {
  min-width: 0;
  position: relative;
}

.passenger-required-grid .account-birth-group__label,
.passenger-passport-grid .account-birth-group__label {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  margin-bottom: 0;
  padding: 0 0.45rem;
  background: #fff;
  z-index: 2;
  white-space: nowrap;
}

.passenger-required-grid .account-birth-group__fields,
.passenger-passport-grid .account-birth-group__fields {
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 0;
  border: 1px solid #d7dee8;
  border-radius: 10px;
  background: #fff;
  min-height: 3.05rem;
  overflow: hidden;
  align-items: stretch;
}

.passenger-required-grid .account-birth-group__fields .account-float-field,
.passenger-passport-grid .account-birth-group__fields .account-float-field {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.passenger-required-grid .account-birth-group__fields .account-float-field:nth-child(2),
.passenger-passport-grid .account-birth-group__fields .account-float-field:nth-child(2) {
  flex-grow: 1.25;
}

.passenger-required-grid .account-birth-group__fields .account-float-field + .account-float-field,
.passenger-passport-grid .account-birth-group__fields .account-float-field + .account-float-field {
  border-inline-start: 1px solid #d7dee8;
}

.passenger-required-grid .account-birth-group__fields .account-float-field--compact .account-float-field__label,
.passenger-passport-grid .account-birth-group__fields .account-float-field--compact .account-float-field__label {
  display: none;
}

.passenger-required-grid .account-birth-group__fields .account-float-field__input,
.passenger-passport-grid .account-birth-group__fields .account-float-field__input,
.passenger-required-grid .account-birth-group__fields .account-float-field__select,
.passenger-passport-grid .account-birth-group__fields .account-float-field__select {
  min-height: 3.05rem;
  height: 100%;
  padding: 0.65rem 0.55rem;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 0.88rem;
  box-shadow: none;
}

.passenger-required-grid .account-birth-group__fields .account-float-field__input:focus,
.passenger-passport-grid .account-birth-group__fields .account-float-field__input:focus,
.passenger-required-grid .account-birth-group__fields .account-float-field__select:focus,
.passenger-passport-grid .account-birth-group__fields .account-float-field__select:focus {
  border: none;
  box-shadow: none;
  outline: none;
}

.passenger-required-grid .account-birth-group__fields .account-float-field:focus-within,
.passenger-passport-grid .account-birth-group__fields .account-float-field:focus-within {
  background: #f8fbff;
}

.passenger-required-grid .account-birth-group__fields .account-float-field__select,
.passenger-passport-grid .account-birth-group__fields .account-float-field__select {
  text-align: center;
  text-align-last: center;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
  background-image: none;
  color: #334155;
}

.passenger-required-grid .account-birth-group__fields .account-float-field__select:invalid,
.passenger-passport-grid .account-birth-group__fields .account-float-field__select:invalid,
.passenger-passport-grid .account-birth-group__fields .account-float-field__select:has(option[value=""]:checked) {
  color: #94a3b8;
}

.passenger-passport-grid .account-birth-group[data-calendar='gregorian'] .account-birth-group__fields .account-float-field:nth-child(1) {
  flex-grow: 1.1;
}

.passenger-passport-grid .account-birth-group[data-calendar='shamsi'] .account-birth-group__fields .account-float-field:nth-child(2) {
  flex-grow: 1.35;
}

.passenger-required-grid {
  margin-bottom: 0;
  gap: 0.75rem 0.85rem;
  grid-template-columns: 0.85fr 1.3fr 0.85fr;
  align-items: end;
}

.passenger-general-grid {
  grid-template-columns: 1.45fr 0.78fr 1.22fr 0.52fr;
}

.passenger-fullname-group {
  min-width: 0;
  position: relative;
}

.passenger-fullname-group__label {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  margin-bottom: 0;
  padding: 0 0.45rem;
  background: #fff;
  z-index: 2;
  white-space: nowrap;
}

.passenger-fullname-group__fields {
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 0;
  border: 1px solid #d7dee8;
  border-radius: 10px;
  background: #fff;
  min-height: 3.05rem;
  overflow: hidden;
  align-items: stretch;
}

.passenger-fullname-group__fields .account-float-field {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.passenger-fullname-group__fields .account-float-field + .account-float-field {
  border-inline-start: 1px solid #d7dee8;
}

.passenger-fullname-group__fields .account-float-field--compact .account-float-field__label {
  display: none;
}

.passenger-fullname-group__fields .account-float-field__input {
  min-height: 3.05rem;
  height: 100%;
  padding: 0.65rem 0.75rem;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 0.88rem;
  box-shadow: none;
}

.passenger-fullname-group__fields .account-float-field__input:focus {
  border: none;
  box-shadow: none;
  outline: none;
}

.passenger-fullname-group__fields .account-float-field:focus-within {
  background: #f8fbff;
}

.passenger-fullname-group--latin .passenger-fullname-group__fields .account-float-field__input {
  direction: ltr;
  text-align: left;
}

.passenger-passport-grid > .account-float-field .account-float-field__input,
.passenger-passport-grid > .account-float-field .account-float-field__select {
  min-height: 3.05rem;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.passenger-general-grid > .account-float-field--gender .account-float-field__select {
  padding-left: 1.75rem;
  padding-right: 0.55rem;
  text-align: center;
  text-align-last: center;
  background-position: left 0.45rem center;
}

.passenger-required-grid > .account-float-field .account-float-field__input,
.passenger-required-grid > .account-float-field .account-float-field__select,
.passenger-passport-grid > .account-float-field .account-float-field__input,
.passenger-passport-grid > .account-float-field .account-float-field__select {
  min-height: 3.05rem;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.account-birth-group__label {
  position: static;
  display: block;
  margin-bottom: 0.5rem;
  padding: 0;
  background: transparent;
  font-size: 0.78rem;
  color: #64748b;
}

.account-birth-group__fields {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 0.65rem;
}

.account-float-field--compact .account-float-field__input {
  padding: 0.8rem 0.75rem;
}

.account-form-hint {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
  }

  .account-sidebar__list {
    display: flex;
    overflow-x: auto;
    padding: 0.5rem;
    gap: 0.25rem;
  }

  .account-sidebar__list li {
    flex: 0 0 auto;
  }

  .account-sidebar__link {
    border-right: none;
    border-bottom: 3px solid transparent;
    border-radius: 8px;
    white-space: nowrap;
  }

  .account-sidebar__link.is-active {
    border-bottom-color: #2563eb;
  }

  .account-profile-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .account-profile-banner__wallet {
    text-align: right;
  }

  .account-panel__grid,
  .account-panel__grid--3 {
    grid-template-columns: 1fr;
  }

  .trips-filter-card__grid {
    grid-template-columns: 1fr;
  }

  .trip-order-card__head {
    flex-direction: column;
    padding-left: 0;
    padding-top: 2rem;
  }

  .trip-order-card__foot {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .trip-order-card__detail-link {
    justify-content: flex-start;
  }

  .account-trip-card {
    flex-direction: column;
    align-items: stretch;
  }

  .account-modal__row,
  .account-form-grid--3,
  .account-form-grid--4,
  .passenger-passport-grid,
  .passenger-required-grid,
  .account-birth-group__fields {
    grid-template-columns: 1fr;
  }

  .account-modal__dialog--lg .account-modal__panel-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .account-btn {
    width: 100%;
    text-align: center;
  }

  .wallet-balance-card {
    flex-direction: column;
    align-items: stretch;
  }

  .wallet-balance-card__actions {
    width: 100%;
  }

  .wallet-btn {
    flex: 1 1 auto;
  }

  .wallet-history-card__head {
    flex-direction: column;
    align-items: stretch;
  }

  .wallet-filters__grid {
    grid-template-columns: 1fr;
  }

  .wallet-table-wrap {
    overflow-x: auto;
  }
}

/* Wallet page */
.wallet-balance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.wallet-balance-card__label {
  display: block;
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.wallet-balance-card__amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: #059669;
  letter-spacing: -0.02em;
}

.wallet-balance-card__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.wallet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.wallet-btn svg {
  width: 16px;
  height: 16px;
}

.wallet-btn--primary {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

.wallet-btn--primary:hover {
  background: #2563eb;
}

.wallet-btn--outline {
  background: #fff;
  color: #3b82f6;
  border-color: #3b82f6;
}

.wallet-btn--outline:hover {
  background: #eff6ff;
}

.wallet-btn--sm {
  min-height: 36px;
  padding: 0.45rem 1rem;
  font-size: 0.84rem;
}

.wallet-history-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.wallet-history-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.wallet-history-card__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wallet-history-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f4f7fb;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #52607a;
}

.wallet-history-card__icon svg {
  width: 17px;
  height: 17px;
}

.wallet-history-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.wallet-history-card__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0 1.25rem 0.75rem;
}

.wallet-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  background: transparent;
  color: #3b82f6;
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}

.wallet-tool-link svg {
  width: 16px;
  height: 16px;
}

.wallet-tool-link:hover {
  color: #1d4ed8;
}

.wallet-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem 0.35rem;
}

.wallet-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.wallet-tab.is-active {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

.wallet-tab:hover:not(.is-active) {
  background: #eff6ff;
  color: #3b82f6;
}

.wallet-filters {
  display: none;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: #fafbfd;
}

.wallet-filters.is-open {
  display: block;
}

.wallet-filters__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  gap: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}

.wallet-filter-field__label {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.wallet-filter-field__input {
  width: 100%;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font-family: var(--font);
  font-size: 0.86rem;
  color: #0f172a;
  background: #fff;
}

.wallet-filter-field__range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

.wallet-filter-field__sep {
  font-size: 0.8rem;
  color: #94a3b8;
}

.wallet-filters__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wallet-clear-filters {
  color: #3b82f6;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.wallet-clear-filters:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.wallet-table-wrap {
  padding: 0.25rem 0;
}

.wallet-table {
  width: 100%;
  border-collapse: collapse;
}

.wallet-table th {
  padding: 0.85rem 1.25rem;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: #fafbfd;
}

.wallet-table td {
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: #0f172a;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  vertical-align: top;
}

.wallet-table tbody tr:hover {
  background: #fafbfd;
}

.wallet-table__date {
  white-space: nowrap;
  color: #334155;
}

.wallet-table__amount {
  font-weight: 700;
  white-space: nowrap;
  direction: ltr;
  text-align: right;
}

.wallet-table__amount--plus {
  color: #059669;
}

.wallet-table__amount--minus {
  color: #dc2626;
}

.wallet-table__desc {
  color: #475569;
  line-height: 1.6;
  max-width: 420px;
}

.wallet-table__ref {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

.wallet-table__empty {
  text-align: center;
  color: #94a3b8;
  padding: 2.5rem 1.25rem !important;
}

.wallet-status {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.wallet-status--pending {
  background: #fff7ed;
  color: #c2410c;
}

.wallet-status--approved {
  background: #ecfdf5;
  color: #047857;
}

.wallet-status--rejected {
  background: #fef2f2;
  color: #b91c1c;
}

.wallet-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 1.25rem 1.25rem;
}

.wallet-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 0.5rem;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.wallet-pagination__btn.is-active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

.wallet-pagination__btn:hover:not(.is-active) {
  border-color: #3b82f6;
  color: #3b82f6;
}

.wallet-withdraw-hint {
  margin: 0;
  font-size: 0.84rem;
  color: #64748b;
}

.wallet-withdraw-hint strong {
  color: #059669;
}

.wallet-topup-modal {
  padding: 2.25rem 1.75rem 1.75rem;
}

.wallet-topup-modal__title {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.wallet-topup-modal__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.wallet-topup-field {
  position: relative;
  display: block;
}

.wallet-topup-field__input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.95rem 1rem 0.95rem 4.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: #0f172a;
  background: #fff;
  text-align: right;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wallet-topup-field__input::placeholder {
  color: #94a3b8;
}

.wallet-topup-field__input:focus {
  outline: none;
  border-color: #7fbbed;
  box-shadow: 0 0 0 3px rgba(127, 187, 237, 0.2);
}

.wallet-topup-field__unit {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.9rem;
  pointer-events: none;
}

.wallet-topup-modal__submit {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: #7fbbed;
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.wallet-topup-modal__submit:hover {
  background: #6aaee0;
}

/* Support page */
.support-page-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  min-height: 420px;
}

.support-page-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.support-page-card__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.support-page-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f4f7fb;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #52607a;
}

.support-page-card__icon svg {
  width: 17px;
  height: 17px;
}

.support-page-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.support-new-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0.45rem 0.95rem;
  border: 1px solid #c7daf5;
  border-radius: 10px;
  background: #f8fbff;
  color: #2f74d0;
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(47, 116, 208, 0.06);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.support-new-btn svg {
  width: 16px;
  height: 16px;
}

.support-new-btn:hover {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #7eb3f0;
}

.support-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
}

.support-empty__illustration {
  position: relative;
  width: 200px;
  margin-bottom: 1.5rem;
}

.support-empty__glow {
  position: absolute;
  inset: 10% 5% auto;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 70%);
  pointer-events: none;
}

.support-empty__illustration svg {
  position: relative;
  width: 100%;
  height: auto;
}

.support-empty__title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.support-empty__lead {
  margin: 0 0 1.5rem;
  max-width: 420px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #64748b;
}

.support-empty__btn {
  min-width: 220px;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(180deg, #4f9cf5 0%, #3b82f6 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.support-empty__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.28);
}

.support-requests-list {
  padding: 0.5rem 0;
}

.support-request-item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.support-request-item:last-child {
  border-bottom: 0;
}

.support-request-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.support-request-item__subject {
  font-size: 0.95rem;
  color: #0f172a;
}

.support-request-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.support-request-item__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
}

.support-request-item__file {
  display: inline-flex;
  margin-top: 0.35rem;
  color: #3b82f6;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.support-request-item__file:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.support-request-item__message {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #475569;
}

.support-status {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.support-status--open {
  background: #fff7ed;
  color: #c2410c;
}

.support-status--answered {
  background: #ecfdf5;
  color: #047857;
}

.support-status--closed {
  background: #f1f5f9;
  color: #64748b;
}

.support-category-modal {
  padding: 1.5rem 1.35rem 1.35rem;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 120px);
  overflow: hidden;
}

.support-category-modal__head {
  text-align: center;
  padding: 0.15rem 0.5rem 1.25rem;
}

.support-category-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  color: #2563eb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14);
}

.support-category-modal__badge svg {
  width: 26px;
  height: 26px;
}

.support-category-modal__title {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.75;
}

.support-category-modal__lead {
  margin: 0 auto;
  max-width: 520px;
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.85;
}

.support-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.support-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 118px;
  padding: 1rem 0.7rem;
  border: 1px solid #e8eef5;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  color: #334155;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.support-category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(14, 165, 233, 0.04));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.support-category-card:hover,
.support-category-card:focus-visible {
  border-color: #93c5fd;
  color: #1d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.14);
}

.support-category-card:hover::before,
.support-category-card:focus-visible::before {
  opacity: 1;
}

.support-category-card__icon-wrap {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  color: #475569;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-category-card__icon-wrap .support-category-card__icon {
  width: 26px;
  height: 26px;
}

.support-category-card__icon-wrap svg {
  width: 26px;
  height: 26px;
}

.support-category-card:hover .support-category-card__icon-wrap,
.support-category-card:focus-visible .support-category-card__icon-wrap {
  transform: scale(1.06);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.support-category-card__label {
  position: relative;
  z-index: 1;
  text-align: center;
}

.support-category-card[data-support-icon="flight"] .support-category-card__icon-wrap {
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: #2563eb;
}

.support-category-card[data-support-icon="flight_intl"] .support-category-card__icon-wrap {
  background: linear-gradient(135deg, #e0e7ff, #eef2ff);
  color: #4f46e5;
}

.support-category-card[data-support-icon="hotel"] .support-category-card__icon-wrap {
  background: linear-gradient(135deg, #ffedd5, #fff7ed);
  color: #ea580c;
}

.support-category-card[data-support-icon="hotel_intl"] .support-category-card__icon-wrap {
  background: linear-gradient(135deg, #ccfbf1, #f0fdfa);
  color: #0d9488;
}

.support-category-card[data-support-icon="tour"] .support-category-card__icon-wrap {
  background: linear-gradient(135deg, #dcfce7, #f0fdf4);
  color: #16a34a;
}

.support-category-card[data-support-icon="tour_intl"] .support-category-card__icon-wrap {
  background: linear-gradient(135deg, #fce7f3, #fdf2f8);
  color: #db2777;
}

.support-category-card[data-support-icon="insurance"] .support-category-card__icon-wrap {
  background: linear-gradient(135deg, #cffafe, #ecfeff);
  color: #0891b2;
}

.support-category-card[data-support-icon="train"] .support-category-card__icon-wrap {
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
  color: #475569;
}

.support-category-card[data-support-icon="bus"] .support-category-card__icon-wrap {
  background: linear-gradient(135deg, #ede9fe, #f5f3ff);
  color: #7c3aed;
}

.support-category-card[data-support-icon="phone"] .support-category-card__icon-wrap {
  background: linear-gradient(135deg, #fef3c7, #fffbeb);
  color: #d97706;
}

.support-category-card[data-support-icon="visa"] .support-category-card__icon-wrap {
  background: linear-gradient(135deg, #ddd6fe, #ede9fe);
  color: #6d28d9;
}

.support-category-card[data-support-icon="wallet"] .support-category-card__icon-wrap {
  background: linear-gradient(135deg, #bfdbfe, #dbeafe);
  color: #1d4ed8;
}

.support-category-card[data-support-icon="other"] .support-category-card__icon-wrap {
  background: linear-gradient(135deg, #f1f5f9, #f8fafc);
  color: #64748b;
}

.support-category-card:last-child:nth-child(4n + 1):nth-last-child(1) {
  grid-column: 2 / span 2;
}

.support-form-modal__head {
  margin-bottom: 0.25rem;
}

.support-form-modal__category {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: #64748b;
}

.support-form-modal__form {
  gap: 0.9rem;
}

.support-required {
  color: #ef4444;
}

.support-upload__label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  color: #64748b;
}

.support-upload__box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #fafbfd;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.support-upload__box:hover,
.support-upload__box.is-dragover {
  border-color: #7eb3f0;
  background: #f0f7ff;
}

.support-upload__box.has-file {
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem 0.45rem 0.65rem;
  border-style: solid;
  border-color: #93c5fd;
  background: #eff6ff;
  cursor: default;
}

.support-upload__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.support-upload__box.has-file .support-upload__input {
  display: none;
}

.support-upload__empty {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #3b82f6;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
}

.support-upload__text {
  white-space: nowrap;
}

.support-upload__selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}

.support-upload__icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8f2fd;
  color: #3b82f6;
  flex-shrink: 0;
}

.support-upload__icon svg {
  width: 14px;
  height: 14px;
}

.support-upload__file-name {
  flex: 1;
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e40af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
  text-align: right;
}

.support-upload__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  transition: color 0.15s ease, background 0.15s ease;
}

.support-upload__clear svg {
  width: 14px;
  height: 14px;
}

.support-upload__clear:hover {
  color: #dc2626;
  background: #fef2f2;
}

.support-upload__hint {
  margin: 0.4rem 0 0;
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.5;
}

.account-float-field__textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .support-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-category-card:last-child:nth-child(4n + 1):nth-last-child(1) {
    grid-column: auto;
  }

  .support-category-card:last-child:nth-child(odd):nth-last-child(1) {
    grid-column: 1 / -1;
    max-width: 280px;
    margin-inline: auto;
    width: 100%;
  }

  .support-page-card__head {
    flex-direction: column;
    align-items: stretch;
  }

  .support-new-btn {
    justify-content: center;
    width: 100%;
  }
}

/* ——— Passengers page ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.account-btn--danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  border: none;
}

.account-btn--danger:hover {
  filter: brightness(1.05);
}

.passengers-page {
  display: grid;
  gap: 1.25rem;
}

.passengers-search-card,
.passengers-list-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.passengers-search-card {
  padding: 1.25rem 1.35rem 1.35rem;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.passengers-search-card__head,
.passengers-list-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.passengers-search-card__head {
  margin-bottom: 0.85rem;
}

.passengers-search-card__title-wrap,
.passengers-list-card__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.passengers-search-card__icon,
.passengers-list-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: #2563eb;
  flex-shrink: 0;
}

.passengers-search-card__icon svg,
.passengers-list-card__icon svg {
  width: 20px;
  height: 20px;
}

.passengers-search-card__title,
.passengers-list-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.passengers-list-card__count {
  font-size: 0.78rem;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.passengers-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.passengers-search-form__field {
  flex: 1 1 280px;
}

.passengers-search-form__field--live {
  position: relative;
}

.passengers-search-popup {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  left: 0;
  z-index: 30;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  max-height: 320px;
  overflow: auto;
}

.passengers-search-popup__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.8rem 1rem;
  text-align: right;
  cursor: pointer;
  font: inherit;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
}

.passengers-search-popup__item:last-child {
  border-bottom: none;
}

.passengers-search-popup__item:hover,
.passengers-search-popup__item.is-active {
  background: #eff6ff;
}

.passengers-search-popup__name {
  font-size: 0.92rem;
  font-weight: 700;
}

.passengers-search-popup__meta {
  font-size: 0.78rem;
  color: #64748b;
}

.passengers-search-popup__empty {
  padding: 1rem;
  text-align: center;
  color: #64748b;
  font-size: 0.86rem;
}

.passengers-search-form__input {
  width: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font: inherit;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.passengers-search-form__input:focus,
.passengers-search-form__input.is-searching {
  outline: none;
  border-color: #60a5fa;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.passengers-search-form__btn {
  display: none;
}

.passengers-search-form__clear {
  border: none;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 600;
  color: #2563eb;
  cursor: pointer;
  padding: 0.35rem 0.15rem;
}

.passengers-search-form__clear:hover {
  color: #1d4ed8;
}

.passengers-list-card {
  padding: 1.25rem 1.35rem 1.1rem;
}

.passengers-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #93c5fd;
  border-radius: 12px;
  padding: 0.62rem 1rem;
  font: inherit;
  font-weight: 600;
  color: #2563eb;
  background: #eff6ff;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.passengers-add-btn svg {
  width: 16px;
  height: 16px;
}

.passengers-add-btn:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}

.passengers-table-tools {
  display: flex;
  justify-content: flex-start;
  margin: -0.15rem 0 0.75rem;
}

.passengers-sort-field {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.passengers-sort-field__label {
  font-size: 0.82rem;
  color: #64748b;
  white-space: nowrap;
}

.passengers-sort-field__select {
  min-width: 11.5rem;
  border: 1px solid #d7dee8;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  padding-left: 2rem;
  font: inherit;
  font-size: 0.84rem;
  color: #0f172a;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left 0.75rem center;
  appearance: none;
  cursor: pointer;
}

.passengers-sort-field__select:focus {
  outline: none;
  border-color: #7fbbed;
  box-shadow: 0 0 0 3px rgba(127, 187, 237, 0.2);
}

.passengers-table-wrap {
  overflow-x: auto;
  border: 1px solid #edf2f7;
  border-radius: 14px;
}

.passengers-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.passengers-table thead th {
  text-align: right;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #edf2f7;
}

.passengers-table thead th.passengers-table__col-center,
.passengers-table tbody td.passengers-table__col-center {
  text-align: center;
}

.passengers-table tbody td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  font-size: 0.9rem;
  vertical-align: middle;
}

.passengers-table tbody tr:hover {
  background: #f8fbff;
}

.passengers-table tbody tr.passengers-table__row--focus,
.passengers-table tbody tr.passengers-table__row--match {
  background: #eff6ff;
  transition: background 0.2s ease;
}

.passengers-table__highlight {
  background: #bfdbfe;
  color: #1e3a8a;
  border-radius: 4px;
  padding: 0 0.1rem;
}

.passengers-table__name strong {
  display: block;
  color: #0f172a;
  font-weight: 700;
}

.passengers-table__name-en {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: #94a3b8;
  text-transform: lowercase;
}

.passengers-table__actions {
  width: 96px;
  white-space: nowrap;
}

.passengers-table__actions-head {
  width: 96px;
}

.passengers-action-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 0.35rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.passengers-action-btn svg {
  width: 16px;
  height: 16px;
}

.passengers-action-btn--edit:hover {
  color: #2563eb;
  border-color: #93c5fd;
  background: #eff6ff;
}

.passengers-action-btn--delete {
  color: #ef4444;
}

.passengers-action-btn--delete:hover {
  border-color: #fecaca;
  background: #fef2f2;
}

.passengers-table__empty {
  text-align: center;
  color: #94a3b8;
  padding: 2rem 1rem !important;
}

.passengers-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1rem;
  padding-top: 0.5rem;
}

.passengers-pagination__btn {
  min-width: 36px;
  height: 36px;
  padding: 0 0.55rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  text-decoration: none;
  font-size: 0.86rem;
  background: #fff;
}

.passengers-pagination__btn.is-active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}

.passengers-pagination__dots {
  color: #94a3b8;
  padding: 0 0.2rem;
}

.passengers-empty {
  text-align: center;
  padding: 2.2rem 1rem 2.5rem;
}

.passengers-empty__illustration {
  position: relative;
  width: 200px;
  margin: 0 auto 1rem;
}

.passengers-empty__glow {
  position: absolute;
  inset: 20% 10% auto;
  height: 60px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.25), transparent 70%);
}

.passengers-empty__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: #0f172a;
}

.passengers-empty__lead {
  margin: 0 auto 1.1rem;
  max-width: 420px;
  color: #64748b;
  line-height: 1.7;
  font-size: 0.9rem;
}

.passengers-empty__btn {
  border: none;
  border-radius: 12px;
  padding: 0.72rem 1.25rem;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  cursor: pointer;
}

.passenger-form-modal {
  max-height: min(92vh, 860px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.passenger-form-modal__head {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem 1.25rem 0.65rem;
}

.passenger-form-modal__head-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.passenger-form-modal__note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  padding-inline-start: calc(40px + 0.65rem);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #ea580c;
}

.passenger-form-modal__note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.passenger-form-modal__head-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: #2563eb;
}

.passenger-form-modal__head-icon svg {
  width: 22px;
  height: 22px;
}

.passenger-form-modal__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.passenger-form-modal__form {
  overflow: auto;
  padding: 0.5rem 1.25rem 1.25rem;
}

.passenger-form-section {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 0.85rem;
}

.passenger-form-section__title {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.passenger-form-section__badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  background: #e2e8f0;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}

.passenger-form-section__badge--required {
  color: #b91c1c;
  background: #fee2e2;
}

.passenger-form-section--optional {
  background: #fafbfc;
  border-style: dashed;
}

.passenger-form-section--optional .passenger-fullname-group__label,
.passenger-form-section--optional .account-birth-group__label,
.passenger-form-section--optional .account-float-field__label {
  background: #fafbfc;
}

.passenger-name-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.85rem;
  margin-bottom: 0.85rem;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #fff;
}

.passenger-name-box--latin {
  margin-bottom: 0.75rem;
  background: #fff;
}

.passenger-form-field {
  margin-bottom: 0.75rem;
}

.passenger-form-field.account-float-field--select,
.passenger-form-section .account-birth-group.passenger-form-field {
  max-width: 100%;
}

.passenger-form-section .account-birth-group.passenger-form-field {
  margin-bottom: 0.75rem;
}

.passenger-form-section__note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #ea580c;
}

.passenger-form-section__note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.passenger-form-section__hint {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #64748b;
}

.passenger-required {
  color: #ef4444;
}

.passenger-form-modal__footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.35rem;
}

.passenger-form-modal__footer--center {
  justify-content: center;
  padding: 0 1.25rem 1.25rem;
}

@media (max-width: 1100px) {
  .passenger-passport-grid,
  .passenger-required-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .passenger-general-grid .account-float-field--gender {
    max-width: 11rem;
  }
}

@media (max-width: 991px) {
  .passengers-list-card__head {
    flex-direction: column;
    align-items: stretch;
  }

  .passengers-add-btn {
    justify-content: center;
    width: 100%;
  }

  .passengers-search-form__btn {
    width: 100%;
  }

  .passenger-name-box,
  .passenger-fullname-group__fields {
    grid-template-columns: 1fr;
  }

  .passenger-fullname-group__fields {
    display: grid;
  }

  .passenger-fullname-group__fields .account-float-field + .account-float-field {
    border-inline-start: none;
    border-top: 1px solid #d7dee8;
  }

  .passenger-general-grid .account-float-field--gender {
    max-width: none;
  }
}

.passport-inquiry-page-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.passport-inquiry-page-card__head {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.passport-inquiry-page-card__title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.passport-inquiry-page-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f4f7fb;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #52607a;
  flex-shrink: 0;
}

.passport-inquiry-page-card__icon svg {
  width: 17px;
  height: 17px;
}

.passport-inquiry-page-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.passport-inquiry-page-card__lead {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: #64748b;
}

.passport-inquiry-page-card__body {
  padding: 1.25rem;
}

.passport-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.passport-inquiry-form__group-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
}

.passport-inquiry-form__footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.35rem;
}

.passport-inquiry-form .account-birth-group--inline {
  position: relative;
}

.passport-inquiry-form .account-birth-group__fields {
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 0;
  border: 1px solid #d7dee8;
  border-radius: 10px;
  background: #fff;
  min-height: 3.05rem;
  overflow: hidden;
  align-items: stretch;
}

.passport-inquiry-form .account-birth-group__fields .account-float-field {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.passport-inquiry-form .account-birth-group__fields .account-float-field:nth-child(2) {
  flex-grow: 1.35;
}

.passport-inquiry-form .account-birth-group__fields .account-float-field + .account-float-field {
  border-inline-start: 1px solid #d7dee8;
}

.passport-inquiry-form .account-birth-group__fields .account-float-field--compact .account-float-field__label {
  display: none;
}

.passport-inquiry-form .account-birth-group__fields .account-float-field__select {
  min-height: 3.05rem;
  height: 100%;
  padding: 0.65rem 0.55rem;
  border: none;
  border-radius: 0;
  background: transparent;
  background-image: none;
  font-size: 0.88rem;
  box-shadow: none;
  text-align: center;
  text-align-last: center;
  color: #334155;
}

.passport-inquiry-form .account-birth-group__fields .account-float-field__select:invalid,
.passport-inquiry-form .account-birth-group__fields .account-float-field__select:has(option[value=""]:checked) {
  color: #94a3b8;
}

.passport-inquiry-form .account-birth-group__fields .account-float-field:focus-within {
  background: #f8fbff;
}

.passport-inquiry-result {
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
  line-height: 1.75;
}

.passport-inquiry-result--ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.passport-inquiry-result--warn {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}

.passport-inquiry-result__message {
  margin: 0 0 0.65rem;
  font-weight: 600;
}

.passport-inquiry-result__notice {
  margin: 0;
  font-weight: 500;
}

.passport-inquiry-result__section + .passport-inquiry-result__section {
  margin-top: 0.85rem;
}

.passport-inquiry-result__section-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.passport-inquiry-result__section-text {
  margin: 0;
  line-height: 1.8;
}

.passport-inquiry-result__section-text strong {
  font-weight: 700;
}
