@charset "UTF-8";

:root {
  --rahjoo-navy: #132e54;
  --rahjoo-navy-deep: #0d2341;
  --rahjoo-blue: #246bfd;
  --rahjoo-blue-soft: #edf3ff;
  --rahjoo-cyan: #29b6c8;
  --rahjoo-green: #159b70;
  --rahjoo-green-soft: #e8f8f1;
  --rahjoo-red: #dc5a66;
  --rahjoo-red-soft: #fff0f1;
  --rahjoo-amber: #e29a1d;
  --rahjoo-amber-soft: #fff6df;
  --rahjoo-purple: #7358c7;
  --rahjoo-text: #20304a;
  --rahjoo-muted: #6f7d91;
  --rahjoo-line: #e6ecf4;
  --rahjoo-surface: #ffffff;
  --rahjoo-background: #f4f7fb;
  --rahjoo-shadow: 0 12px 34px rgba(19, 46, 84, 0.08);
  --rahjoo-shadow-hover: 0 16px 38px rgba(19, 46, 84, 0.14);
}

body.rahjoo-page {
  color: var(--rahjoo-text);
  background:
    radial-gradient(
      circle at 92% 4%,
      rgba(36, 107, 253, 0.08),
      transparent 24rem
    ),
    var(--rahjoo-background);
}

.rahjoo-page .page-content {
  min-height: calc(100vh - 90px);
}

.rahjoo-page .page-title {
  margin-top: 12px;
  margin-bottom: 12px;
  padding-left: max(18px, env(safe-area-inset-left));
  padding-right: max(18px, env(safe-area-inset-right));
}

.rahjoo-page .page-title-clear {
  height: calc(72px + env(safe-area-inset-top, 0px) * 0.8) !important;
}

.ticket-row-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 20px;
  border-block: 1px solid #e6ecf4;
  background: #f5f8fd;
  color: #24466e;
}

.ticket-row-controls select {
  display: block !important;
  min-width: 85px;
  min-height: 44px;
  padding: 8px 12px;
  color: #205bc3;
  background: #ffffff;
  border: 1px solid #cbdcf7;
  border-radius: 10px;
  font: inherit;
}

.rahjoo-page .page-title h1 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
}

.rahjoo-page .page-title h1 img {
  filter: drop-shadow(0 5px 8px rgba(36, 107, 253, 0.15));
}

.rahjoo-page .page-title-icon,
.rahjoo-page .header-icon {
  border: 1px solid rgba(31, 72, 125, 0.08);
}

.rahjoo-page .header {
  border-bottom: 1px solid rgba(23, 52, 89, 0.07);
  box-shadow: 0 8px 24px rgba(19, 46, 84, 0.08);
}

.rahjoo-shell {
  width: min(1480px, calc(100% - 30px));
  margin: 0 auto;
  padding: 0 0 115px;
}

.rahjoo-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 154px;
  margin-bottom: 16px;
  padding: 26px 30px;
  overflow: hidden;
  color: #ffffff;
  border-radius: 24px;
  background: linear-gradient(
    125deg,
    var(--rahjoo-navy-deep) 0%,
    #245fa9 67%,
    var(--rahjoo-cyan) 120%
  );
  box-shadow: 0 17px 38px rgba(19, 46, 84, 0.2);
}

.rahjoo-hero::before,
.rahjoo-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}

.rahjoo-hero::before {
  top: -105px;
  left: -55px;
  width: 240px;
  height: 240px;
  border: 42px solid rgba(255, 255, 255, 0.055);
}

.rahjoo-hero::after {
  right: 38%;
  bottom: -105px;
  width: 170px;
  height: 170px;
  background: rgba(255, 255, 255, 0.035);
}

.rahjoo-hero--danger {
  background: linear-gradient(125deg, #42223d 0%, #8b3f63 54%, #dc6a67 120%);
}

.rahjoo-hero--passengers {
  background: linear-gradient(125deg, #10394a 0%, #137886 58%, #31b9a1 120%);
}

.rahjoo-hero--users {
  background: linear-gradient(125deg, #272653 0%, #4b4c9e 56%, #7b65d1 120%);
}

.rahjoo-hero__content,
.rahjoo-hero__actions,
.rahjoo-capacity-badge,
.rahjoo-hero__symbol {
  position: relative;
  z-index: 1;
}

.rahjoo-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.rahjoo-hero h2 {
  margin: 10px 0 5px;
  color: #ffffff;
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 800;
}

.rahjoo-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.rahjoo-hero__actions {
  display: flex;
  gap: 9px;
}

.rahjoo-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.rahjoo-btn:hover {
  transform: translateY(-2px);
}

.rahjoo-btn--light {
  color: var(--rahjoo-navy) !important;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.rahjoo-btn--glass {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.19);
  background: rgba(255, 255, 255, 0.11);
}

.rahjoo-capacity-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(9px);
}

.rahjoo-capacity-badge > i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--rahjoo-navy);
  border-radius: 12px;
  background: #ffffff;
}

.rahjoo-capacity-badge span,
.rahjoo-capacity-badge b {
  display: block;
}

.rahjoo-capacity-badge span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
}

.rahjoo-capacity-badge b {
  margin-top: 3px;
  color: #ffffff;
  font-size: 17px;
}

.rahjoo-hero__symbol {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 30px;
}

.rahjoo-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.rahjoo-quick-card {
  display: grid;
  grid-template-columns: 48px 1fr 20px;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 14px;
  color: var(--rahjoo-text) !important;
  border: 1px solid var(--rahjoo-line);
  border-radius: 18px;
  background: var(--rahjoo-surface);
  box-shadow: 0 7px 22px rgba(19, 46, 84, 0.055);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.rahjoo-quick-card:hover {
  transform: translateY(-3px);
  border-color: rgba(36, 107, 253, 0.28);
  box-shadow: var(--rahjoo-shadow-hover);
}

.rahjoo-quick-card > i:first-child {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  font-size: 18px;
}

.rahjoo-quick-card--blue > i:first-child {
  color: var(--rahjoo-blue);
  background: var(--rahjoo-blue-soft);
}

.rahjoo-quick-card--red > i:first-child {
  color: var(--rahjoo-red);
  background: var(--rahjoo-red-soft);
}

.rahjoo-quick-card--green > i:first-child {
  color: var(--rahjoo-green);
  background: var(--rahjoo-green-soft);
}

.rahjoo-quick-card span b,
.rahjoo-quick-card span small {
  display: block;
}

.rahjoo-quick-card span b {
  margin-bottom: 4px;
  font-size: 13px;
}

.rahjoo-quick-card span small {
  color: var(--rahjoo-muted);
  font-size: 10px;
}

.rahjoo-quick-card > i:last-child {
  color: #a4afbe;
}

.rahjoo-panel,
.rahjoo-form-card {
  overflow: hidden;
  border: 1px solid var(--rahjoo-line) !important;
  border-radius: 22px !important;
  background: var(--rahjoo-surface);
  box-shadow: var(--rahjoo-shadow) !important;
}

.rahjoo-form-card.card-style {
  margin-right: 0;
  margin-left: 0;
}

.rahjoo-panel {
  padding: 18px 20px 22px;
}

.rahjoo-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.rahjoo-panel__heading h3 {
  margin: 2px 0 0;
  color: var(--rahjoo-text);
  font-size: 17px;
  font-weight: 800;
}

.rahjoo-panel__heading > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rahjoo-blue);
  font-size: 11px;
  font-weight: 700;
}

.rahjoo-section-kicker {
  color: var(--rahjoo-blue);
  font-size: 10px;
  font-weight: 700;
}

.rahjoo-status-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 6px !important;
  border: 1px solid var(--rahjoo-line);
  border-radius: 15px !important;
  background: #f5f8fc;
}

.rahjoo-status-tabs a {
  min-height: 42px;
  margin: 0 !important;
  padding: 10px 12px !important;
  border-radius: 11px !important;
  background: transparent !important;
  font-size: 11px !important;
}

.rahjoo-status-tabs a[aria-expanded="true"] {
  background: #ffffff !important;
  box-shadow: 0 5px 15px rgba(19, 46, 84, 0.08);
}

.rahjoo-data-card {
  border: 0 !important;
  border-radius: 15px !important;
  box-shadow: none !important;
}

.rahjoo-data-card .content {
  margin: 0 !important;
}

.rahjoo-account-alert {
  margin: 14px 0 0;
  box-shadow: 0 10px 24px rgba(220, 90, 102, 0.2);
}

.rahjoo-form-card > .content {
  margin: 22px !important;
}

.rahjoo-form-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.rahjoo-form-heading h4,
.rahjoo-form-heading p {
  margin: 0;
}

.rahjoo-form-heading h4 {
  color: var(--rahjoo-text);
  font-size: 17px;
  font-weight: 800;
}

.rahjoo-form-heading p {
  margin-top: 3px;
  color: var(--rahjoo-muted);
  font-size: 10px;
}

.rahjoo-step-number {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  place-items: center;
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rahjoo-blue), #558fff);
  box-shadow: 0 7px 16px rgba(36, 107, 253, 0.22);
  font-size: 14px;
  font-weight: 800;
}

.rahjoo-section-divider {
  height: 1px;
  margin: 25px 0 20px;
  background: linear-gradient(
    to left,
    transparent,
    var(--rahjoo-line) 12%,
    var(--rahjoo-line) 88%,
    transparent
  );
}

.rahjoo-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  padding: 12px 14px;
  border-radius: 13px;
  font-size: 11px;
}

.rahjoo-notice > i {
  margin-top: 2px;
  font-size: 15px;
}

.rahjoo-notice p {
  margin-top: 3px !important;
  font-size: 10px;
}

.rahjoo-notice--warning {
  color: #7d5b18;
  border: 1px solid #f5dfaa;
  background: var(--rahjoo-amber-soft);
}

.rahjoo-ticket-new .input-style,
.rahjoo-crud-card .form-group {
  margin-bottom: 18px !important;
}

.rahjoo-ticket-new .input-style.has-borders input,
.rahjoo-ticket-new .input-style.has-borders select,
.rahjoo-ticket-new .input-style.has-borders textarea,
.rahjoo-crud-card input:not([type="checkbox"]):not([type="radio"]),
.rahjoo-crud-card select,
.rahjoo-crud-card textarea {
  min-height: 48px;
  padding-right: 13px !important;
  padding-left: 13px !important;
  color: var(--rahjoo-text);
  border: 1px solid #dce4ef !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.rahjoo-ticket-new .input-style.has-borders input:focus,
.rahjoo-ticket-new .input-style.has-borders select:focus,
.rahjoo-ticket-new .input-style.has-borders textarea:focus,
.rahjoo-crud-card input:focus,
.rahjoo-crud-card select:focus,
.rahjoo-crud-card textarea:focus {
  border-color: #78a2f7 !important;
  box-shadow: 0 0 0 4px rgba(36, 107, 253, 0.08) !important;
}

.rahjoo-ticket-new .input-style.input-style-always-active label {
  top: -8px !important;
  right: 10px !important;
  left: auto !important;
  width: auto !important;
  padding: 0 6px;
  color: #5f7189 !important;
  background: #ffffff;
  font-size: 10px !important;
  font-weight: 700;
}

.rahjoo-ticket-new .choices__inner {
  min-height: 48px;
  padding: 8px 10px !important;
  border-color: #dce4ef !important;
  border-radius: 11px !important;
  background: #ffffff !important;
}

.rahjoo-ticket-new .choices__list--dropdown {
  border-color: var(--rahjoo-line);
  border-radius: 12px;
  box-shadow: var(--rahjoo-shadow);
}

.rahjoo-inline-help {
  padding: 10px;
  border-radius: 11px;
  background: #f6f8fb;
  font-size: 11px;
}

.rahjoo-passenger-form {
  margin-right: 0;
  margin-left: 0;
  padding: 16px 8px;
  border: 1px solid #e4eaf3;
  border-radius: 16px;
  background: #fafcff;
}

.rahjoo-passenger-form .btn {
  min-height: 44px;
  border: 0;
  border-radius: 11px !important;
  box-shadow: none;
}

.rahjoo-passenger-form #savePassengerBtn {
  background: linear-gradient(135deg, #159b70, #26b88b) !important;
  box-shadow: 0 7px 17px rgba(21, 155, 112, 0.2);
}

.rahjoo-passenger-form #resetPassengerBtn {
  color: #56657a;
  background: #e9eef5 !important;
}

.rahjoo-saved-passengers-head {
  margin-top: 22px;
  padding: 12px;
  border-radius: 12px;
  background: var(--rahjoo-blue-soft);
}

.rahjoo-table-wrap {
  overflow: hidden;
  border: 1px solid var(--rahjoo-line);
  border-radius: 15px;
  background: #ffffff;
}

.rahjoo-table-wrap table,
.rahjoo-crud-card table,
.rahjoo-dashboard-panel table {
  margin-bottom: 0 !important;
  color: var(--rahjoo-text);
  border-collapse: separate;
  border-spacing: 0;
  font-size: 11px;
}

.rahjoo-table-wrap table thead th,
.rahjoo-crud-card table thead th,
.rahjoo-dashboard-panel table thead th {
  padding: 13px 10px !important;
  color: #516176 !important;
  border: 0 !important;
  background: #f3f6fa !important;
  font-weight: 700;
  white-space: nowrap;
}

.rahjoo-table-wrap table tbody td,
.rahjoo-crud-card table tbody td,
.rahjoo-dashboard-panel table tbody td {
  padding: 12px 10px !important;
  border-color: #edf1f5 !important;
  vertical-align: middle;
}

.rahjoo-table-wrap table tbody tr:hover,
.rahjoo-crud-card table tbody tr:hover,
.rahjoo-dashboard-panel table tbody tr:hover {
  background: #fafcff;
}

.rahjoo-advanced > div {
  overflow: hidden;
  border: 1px solid var(--rahjoo-line);
  border-radius: 15px;
  background: #ffffff;
}

.rahjoo-advanced .accordion-btn {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  color: var(--rahjoo-text) !important;
  border: 0;
  background: #f5f8fc !important;
  text-align: right;
}

.rahjoo-advanced .accordion-btn small {
  margin-right: 8px;
  color: var(--rahjoo-muted) !important;
  font-size: 9px;
}

.rahjoo-advanced #collapseAdvanced {
  border: 0 !important;
  border-top: 1px solid var(--rahjoo-line) !important;
}

.rahjoo-ticket-new .interest-check label {
  border: 1px solid #dfe6ef;
  box-shadow: none !important;
}

.rahjoo-ticket-new #submitBtn {
  min-height: 52px;
  border: 0;
  border-radius: 13px !important;
  background: linear-gradient(135deg, var(--rahjoo-blue), #3888ea) !important;
  box-shadow: 0 11px 24px rgba(36, 107, 253, 0.22) !important;
}

.rahjoo-ticket-new #submitBtn:disabled {
  opacity: 0.48;
  box-shadow: none !important;
}

.rahjoo-delivery-note {
  margin-top: 14px !important;
  padding: 12px;
  color: #44627f !important;
  border-radius: 12px;
  background: #f5f8fc;
  font-size: 10px;
  line-height: 1.9;
}

.rahjoo-cancel-card .content {
  margin-top: 20px !important;
}

.rahjoo-cancel-card > .content > h4,
.rahjoo-cancel-card > .content > p:first-of-type {
  display: none;
}

.rahjoo-cancel-help {
  margin-bottom: 16px;
  padding: 10px 13px;
  color: #745e37;
  border: 1px solid #f1dfa9;
  border-radius: 12px;
  background: var(--rahjoo-amber-soft);
  font-size: 11px;
}

.rahjoo-ticket-cancel .route-table .btn {
  border: 0;
  border-radius: 9px !important;
}

.rahjoo-ticket-cancel .route-details-row td {
  padding: 14px !important;
  background: #f7f9fc;
}

.rahjoo-ticket-cancel .route-details-row .btn,
.rahjoo-ticket-cancel .mobile-details .btn {
  padding: 7px 10px !important;
  color: #53657d !important;
  border: 1px solid #dfe6f0 !important;
  background: #ffffff !important;
  font-size: 10px !important;
  font-weight: 600;
}

.rahjoo-crud-card .content {
  min-height: 270px;
}

.rahjoo-crud-card .pdocrud-container,
.rahjoo-crud-card .pdocrud-table-container {
  color: var(--rahjoo-text);
}

.rahjoo-crud-card .panel,
.rahjoo-crud-card .card,
.rahjoo-crud-card .pdocrud-form {
  border-color: var(--rahjoo-line) !important;
  border-radius: 15px !important;
  box-shadow: none !important;
}

.rahjoo-crud-card .btn {
  border: 0;
  border-radius: 9px !important;
  box-shadow: none !important;
}

.rahjoo-crud-card .btn-primary,
.rahjoo-crud-card .btn-info {
  color: #ffffff !important;
  background: var(--rahjoo-blue) !important;
}

.rahjoo-crud-card .btn-success {
  background: var(--rahjoo-green) !important;
}

.rahjoo-crud-card .btn-danger {
  background: var(--rahjoo-red) !important;
}

.rahjoo-crud-card .pagination,
.rahjoo-crud-card ul.pagination {
  gap: 4px;
}

.rahjoo-crud-card .pagination a,
.rahjoo-crud-card .pagination span {
  border-color: var(--rahjoo-line) !important;
  border-radius: 8px !important;
}

.rahjoo-page .table-card-deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.rahjoo-page .table-card-deck > .card {
  overflow: hidden;
  margin: 0 !important;
  border: 1px solid var(--rahjoo-line) !important;
  border-radius: 15px !important;
  background: #ffffff;
  box-shadow: 0 7px 19px rgba(19, 46, 84, 0.065) !important;
}

.rahjoo-page .table-card-deck .card-body {
  padding: 14px !important;
}

.rahjoo-page .table-card-deck .card-title {
  margin-bottom: 9px;
  color: var(--rahjoo-navy);
  font-size: 14px;
  font-weight: 800;
}

.rahjoo-page .table-card-deck .card-text {
  margin: 0;
}

.rahjoo-page .table-card-deck .body-text-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  color: #465870;
  border-bottom: 1px dashed #e7ecf3;
  font-size: 10px;
}

.rahjoo-page .table-card-deck .body-text-row:last-child {
  border-bottom: 0;
}

.rahjoo-page .table-card-deck .body-text-row b {
  color: #8490a1;
  font-size: 9px;
  font-weight: 600;
}

.rahjoo-page .table-card-deck .card-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin: 10px 0 0 6px;
  padding: 7px 11px;
  color: var(--rahjoo-blue);
  border-radius: 9px;
  background: var(--rahjoo-blue-soft);
  font-size: 10px;
  font-weight: 700;
}

.rahjoo-page .table-card-deck .card-footer {
  padding: 10px 14px;
  border-top: 1px solid var(--rahjoo-line);
  background: #f7f9fc;
  font-size: 9px;
}

#menu-main {
  border-left: 1px solid rgba(19, 46, 84, 0.08);
  background: #ffffff;
  box-shadow: 15px 0 50px rgba(9, 31, 58, 0.14);
}

#menu-main .card {
  background: linear-gradient(
    145deg,
    var(--rahjoo-navy-deep),
    #2769ae
  ) !important;
}

#menu-main .card-overlay {
  opacity: 0.2;
}

#menu-main .menu-divider {
  color: #8995a6;
  font-size: 10px;
}

#menu-main .list-menu a {
  min-height: 48px;
  margin: 2px 10px;
  padding: 0 8px;
  border-radius: 11px;
}

#menu-main .list-menu a:hover {
  background: var(--rahjoo-blue-soft);
}

#menu-main .list-menu a > i:first-child {
  border-radius: 10px;
  background: linear-gradient(135deg, #367af5, #5f91ee) !important;
}

#footer-bar {
  border: 1px solid rgba(23, 52, 89, 0.08);
  box-shadow: 0 -9px 30px rgba(19, 46, 84, 0.1) !important;
}

#footer-bar a {
  color: #8793a4;
}

#footer-bar a.active-nav,
#footer-bar a.active-nav i,
#footer-bar a.active-nav span {
  color: var(--rahjoo-blue) !important;
}

#footer-bar .circle-nav i,
#footer-bar .circle-nav.active-nav i {
  color: #ffffff !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 991px) {
  .rahjoo-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rahjoo-ticket-new .row > [class*="col-lg-"] {
    margin-bottom: 2px;
  }
}

@media (max-width: 767px) {
  body.rahjoo-page {
    background: #f3f6fa;
  }

  .rahjoo-shell {
    width: calc(100% - 20px);
    padding-bottom: 100px;
  }

  .rahjoo-hero {
    min-height: 132px;
    align-items: flex-start;
    margin-bottom: 11px;
    padding: 20px;
    border-radius: 18px;
  }

  .rahjoo-hero h2 {
    margin-top: 9px;
    font-size: 20px;
  }

  .rahjoo-hero p {
    max-width: 260px;
    font-size: 10px;
    line-height: 1.8;
  }

  .rahjoo-hero__actions {
    flex-direction: column;
  }

  .rahjoo-hero__actions .rahjoo-btn--glass {
    display: none;
  }

  .rahjoo-hero .rahjoo-btn--light {
    width: 43px;
    min-width: 43px;
    height: 43px;
    padding: 0;
    overflow: hidden;
    color: transparent !important;
    font-size: 0;
  }

  .rahjoo-hero .rahjoo-btn--light i {
    color: var(--rahjoo-navy);
    font-size: 14px;
  }

  .rahjoo-capacity-badge {
    min-width: 0;
    padding: 9px;
  }

  .rahjoo-capacity-badge > i {
    width: 38px;
    height: 38px;
  }

  .rahjoo-capacity-badge span {
    display: none;
  }

  .rahjoo-capacity-badge b {
    display: block;
    min-width: 55px;
    text-align: center;
    font-size: 13px;
  }

  .rahjoo-hero__symbol {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 19px;
  }

  .rahjoo-quick-grid {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 1px 1px 9px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .rahjoo-quick-grid::-webkit-scrollbar {
    display: none;
  }

  .rahjoo-quick-card {
    min-width: 230px;
    min-height: 75px;
    scroll-snap-align: start;
    border-radius: 15px;
  }

  .rahjoo-panel,
  .rahjoo-form-card {
    border-radius: 17px !important;
  }

  .rahjoo-panel {
    padding: 14px 10px 16px;
  }

  .rahjoo-panel__heading {
    padding: 0 4px;
  }

  .rahjoo-panel__heading h3 {
    font-size: 15px;
  }

  .rahjoo-status-tabs {
    gap: 4px;
    overflow: visible;
  }

  .rahjoo-status-tabs a {
    display: flex !important;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 9px 4px !important;
    font-size: 9px !important;
  }

  .rahjoo-form-card > .content {
    margin: 15px !important;
  }

  .rahjoo-form-heading {
    margin-bottom: 14px;
  }

  .rahjoo-form-heading h4 {
    font-size: 15px;
  }

  .rahjoo-passenger-form {
    padding: 13px 5px;
  }

  .rahjoo-passenger-form .col-12.d-flex {
    gap: 7px;
  }

  .rahjoo-passenger-form .btn {
    margin: 0 !important;
    padding: 8px 4px !important;
    font-size: 10px !important;
  }

  .rahjoo-ticket-new .passenger-table td.mobile-card-cell,
  .rahjoo-ticket-cancel .route-table td.mobile-route-card-cell {
    margin: 9px 0 13px;
    padding: 13px;
    border: 1px solid var(--rahjoo-line);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(19, 46, 84, 0.07);
  }

  .rahjoo-ticket-cancel .mobile-route-title {
    color: var(--rahjoo-navy);
    font-size: 14px;
    font-weight: 800;
  }

  .rahjoo-ticket-cancel .mobile-route-second {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 11px;
  }

  .rahjoo-ticket-cancel .mobile-route-second .item {
    padding: 8px;
    border-radius: 9px;
    background: #f6f8fb;
    white-space: normal;
    font-size: 10px;
  }

  .rahjoo-crud-card .table-responsive,
  .rahjoo-crud-card .pdocrud-table-container {
    overflow-x: auto;
    border: 1px solid var(--rahjoo-line);
    border-radius: 13px;
  }

  .rahjoo-crud-card table {
    min-width: 670px;
  }

  .rahjoo-dashboard-panel .table-card-deck,
  .rahjoo-crud-card .table-card-deck {
    grid-template-columns: 1fr;
  }

  .rahjoo-advanced .accordion-btn {
    align-items: flex-start;
    padding: 13px !important;
    font-size: 11px !important;
    line-height: 1.8;
  }

  .rahjoo-advanced .accordion-btn small {
    display: none;
  }

  .rahjoo-delivery-note {
    font-size: 9px;
  }
}

@media (max-width: 420px) {
  .rahjoo-hero {
    padding: 17px;
  }

  .rahjoo-hero__eyebrow {
    padding: 6px 9px;
    font-size: 9px;
  }

  .rahjoo-hero h2 {
    font-size: 18px;
  }

  .rahjoo-panel__heading > a {
    font-size: 0;
  }

  .rahjoo-panel__heading > a i {
    font-size: 13px;
  }

  .rahjoo-ticket-cancel .mobile-route-second {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rahjoo-btn,
  .rahjoo-quick-card {
    transition: none;
  }
}

/* Ticket creation auxiliary states ---------------------------------------- */
.rahjoo-page-ticket-new .page-content > .card.card-style {
  border: 1px solid var(--rahjoo-line);
  border-radius: 20px;
  box-shadow: var(--rahjoo-shadow);
  overflow: hidden;
}

.rahjoo-page-ticket-new .page-content > .card.card-style .content {
  margin: 22px;
}

.rahjoo-page-ticket-new .modal-content {
  border: 0;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(24, 39, 75, 0.22);
  overflow: hidden;
}

.rahjoo-page-ticket-new .modal-header {
  padding: 18px 20px;
  color: var(--rahjoo-navy);
  background: linear-gradient(135deg, #f4f8ff 0%, #eefcf9 100%);
  border-bottom: 1px solid var(--rahjoo-line);
}

.rahjoo-page-ticket-new .modal-body {
  padding: 20px;
}

@media (max-width: 575.98px) {
  .rahjoo-page-ticket-new .page-content > .card.card-style .content {
    margin: 17px;
  }

  .rahjoo-page-ticket-new .modal-dialog {
    margin: 12px;
  }
}

/* Visible scrollbars, without overriding modal scroll locks. */
html {
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: #8e9eb4 #eef2f7;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
body *::-webkit-scrollbar {
  display: block;
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #eef2f7;
}

::-webkit-scrollbar-thumb {
  background: #8e9eb4;
  border: 2px solid #eef2f7;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: #536b8a;
}

#tab-group-1 .rahjoo-status-tabs a {
  color: #344b68 !important;
}

#tab-group-1 .rahjoo-status-tabs a.bg-highlight,
#tab-group-1 .rahjoo-status-tabs a[aria-expanded="true"] {
  color: #ffffff !important;
  background: #205bc3 !important;
}

#tab-group-1 .rahjoo-status-tabs a:nth-child(2).bg-highlight,
#tab-group-1 .rahjoo-status-tabs a:nth-child(2)[aria-expanded="true"] {
  background: #8a5700 !important;
}

#tab-group-1 .rahjoo-status-tabs a:nth-child(3).bg-highlight,
#tab-group-1 .rahjoo-status-tabs a:nth-child(3)[aria-expanded="true"] {
  background: #b52f49 !important;
}

#tab-group-1 .rahjoo-status-tabs a i,
#tab-group-1 .rahjoo-status-tabs a span {
  color: inherit !important;
}

.rahjoo-tone-blue {
  --tone: #205bc3;
  --tone-bg: #edf4ff;
  --tone-line: #cbdcf7;
}

.rahjoo-tone-green {
  --tone: #087658;
  --tone-bg: #edf9f3;
  --tone-line: #bfe8d6;
}

.rahjoo-tone-purple {
  --tone: #6b40b0;
  --tone-bg: #f5f0fc;
  --tone-line: #dfd0f4;
}

.rahjoo-tone-amber {
  --tone: #8a5700;
  --tone-bg: #fff8e8;
  --tone-line: #f3dfae;
}

.rahjoo-tone-red {
  --tone: #b52f49;
  --tone-bg: #fff0f3;
  --tone-line: #f5cbd4;
}

.rahjoo-terms-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.rahjoo-terms-nav a {
  padding: 9px 14px;
  background: #ffffff;
  color: #344b68;
  border: 1px solid #dce5f1;
  border-radius: 12px;
}

.rahjoo-terms-nav a:hover,
.rahjoo-terms-nav a:focus-visible {
  color: #205bc3;
  background: #edf4ff;
}

.rahjoo-rule {
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid var(--tone-line);
  border-inline-start: 5px solid var(--tone);
  border-radius: 18px;
  background: #ffffff;
  scroll-margin-top: 90px;
}

.rahjoo-rule h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--tone);
  font-size: 17px;
}

.rahjoo-rule h3 i {
  padding: 13px;
  border-radius: 13px;
  background: var(--tone-bg);
}

.rahjoo-rule p {
  margin: 0;
  padding: 14px 0;
  color: #34455e;
  font-size: 13px;
  line-height: 2.3;
}

.rahjoo-rule p + p {
  border-top: 1px solid #eef2f7;
}

.rahjoo-ticket-cancel .rahjoo-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 5px;
  padding: 11px 13px;
  color: var(--tone) !important;
  border: 1px solid var(--tone-line);
  background: var(--tone-bg) !important;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.9;
  white-space: normal;
}

.rahjoo-snapshot {
  margin-bottom: 20px;
  padding: 22px;
}

.rahjoo-snapshot h3 {
  font-size: 17px;
  color: #24466e;
}

.rahjoo-snapshot p {
  color: #62738a;
  font-size: 12px;
}

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

.rahjoo-snapshot-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  color: var(--tone);
  background: var(--tone-bg);
  border: 1px solid var(--tone-line);
}

.rahjoo-snapshot-item meter {
  grid-column: 1 / -1;
  width: 100%;
  height: 16px;
  accent-color: var(--tone);
}

.rahjoo-snapshot-item meter::-webkit-meter-bar {
  border: 0;
  background: #dce5ec;
  border-radius: 8px;
}

.rahjoo-snapshot-item meter::-webkit-meter-optimum-value {
  background: var(--tone);
}

.rahjoo-snapshot-item meter::-moz-meter-bar {
  background: var(--tone);
}

.ticket-list-page .dt-length {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #344b68;
}

.ticket-list-page div.dt-container .dt-layout-row {
  flex-wrap: wrap;
}

.ticket-list-page .dt-length select {
  min-width: 76px;
  min-height: 42px;
  color: #205bc3;
  background-color: #edf4ff;
  border: 1px solid #cbdcf7;
  border-radius: 10px;
}

@media (max-width: 575.98px) {
  .rahjoo-rule {
    padding: 16px;
  }

  .rahjoo-snapshot-bars {
    grid-template-columns: 1fr;
  }

  .rahjoo-ticket-cancel .rahjoo-detail-chip {
    display: flex;
    margin: 7px 0;
  }
}

/* Dashboard and information pages, revision 1.3. */
#footer-bar a span {
  color: #34455e !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

#footer-bar a.active-nav span {
  color: #1740bf !important;
}

.ticket-panel-head {
  flex-wrap: wrap;
  gap: 12px;
}

.ticket-panel-head .ticket-row-controls {
  padding: 7px 12px;
  border: 1px solid #dce6f4;
  border-radius: 13px;
  font-size: 12px;
}

.rahjoo-dashboard-v2 > .rahjoo-hero {
  min-height: 260px;
  padding: 36px;
  background: linear-gradient(120deg, #132650 0%, #194da0 58%, #118e9f 100%);
  box-shadow: 0 18px 42px #183f7b26;
  isolation: isolate;
}

.rahjoo-dashboard-v2 > .rahjoo-hero h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-block: 18px 12px;
}

.rahjoo-dashboard-art {
  position: absolute;
  left: 24%;
  bottom: -24px;
  transform: rotate(-14deg);
  color: #ffffff;
  opacity: 0.09;
  pointer-events: none;
  z-index: -1;
}

.rahjoo-dashboard-art i {
  font-size: 180px;
}

.rahjoo-dashboard-art span {
  display: block;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 8px !important;
}

.rahjoo-workspace-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 2px 14px;
}

.rahjoo-workspace-heading > div > span {
  color: #597798;
  font-size: 11px;
}

.rahjoo-workspace-heading h3 {
  color: #203c63;
  font-size: 19px;
  margin: 6px 0 0;
}

.rahjoo-today {
  background: #ffffff;
  color: #465d7c;
  padding: 9px 14px;
  border: 1px solid #dce6f4;
  border-radius: 12px;
  font-size: 12px;
}

.rahjoo-dashboard-v2 .rahjoo-quick-card {
  min-height: 125px;
  border-top: 4px solid #397cea;
  background: linear-gradient(140deg, #ffffff 50%, #edf4ff);
}

.rahjoo-dashboard-v2 .rahjoo-quick-card--red {
  border-top-color: #d55a71;
  background: linear-gradient(140deg, #ffffff 50%, #fff0f4);
}

.rahjoo-dashboard-v2 .rahjoo-quick-card--green {
  border-top-color: #139773;
  background: linear-gradient(140deg, #ffffff 50%, #eafaf2);
}

.rahjoo-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 28px;
}

.rahjoo-tool {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--tone-line);
  border-radius: 18px;
  color: var(--tone);
  background: var(--tone-bg);
}

.rahjoo-tool > i:first-child {
  font-size: 23px;
}

.rahjoo-tool > i:last-child {
  margin-inline-start: auto;
}

.rahjoo-tool b,
.rahjoo-tool small {
  display: block;
}

.rahjoo-tool b {
  font-size: 13px;
}

.rahjoo-tool small {
  margin-top: 6px;
  color: #52667e;
  font-size: 11px;
}

.rahjoo-dashboard-v2 .rahjoo-dashboard-panel {
  border-top: 5px solid #246bfd;
}

.rahjoo-service-purple {
  --service: #7045b3;
  --service-soft: #f5efff;
}

.rahjoo-service-blue {
  --service: #176aa8;
  --service-soft: #edf7ff;
}

.rahjoo-service-amber {
  --service: #985113;
  --service-soft: #fff7e8;
}

.rahjoo-service .rahjoo-hero {
  background: linear-gradient(125deg, #182d4a, var(--service));
}

.rahjoo-service-symbol {
  font-size: 78px;
  color: #ffffff;
  opacity: 0.22;
  margin-inline: 15px;
}

.rahjoo-service .rahjoo-service-card {
  margin: 0 0 22px;
  border: 1px solid #e0e6ef;
  border-top: 4px solid var(--service);
  border-radius: 20px;
  box-shadow: 0 12px 34px #132e5410;
}

.rahjoo-service-card .content {
  margin: 28px;
}

.rahjoo-service-card h4 {
  color: var(--service) !important;
  padding: 16px;
  margin-bottom: 26px;
  background: var(--service-soft);
  border-radius: 12px;
  line-height: 1.9;
}

.rahjoo-service-card textarea {
  min-height: 200px !important;
  line-height: 2;
  resize: vertical;
}

.rahjoo-service-card .gradient-highlight {
  background: linear-gradient(120deg, var(--service), #22466c) !important;
  min-height: 48px;
}

.rahjoo-service-card .form-control {
  border-radius: 12px !important;
  border-color: #d6e0ed !important;
}

.rahjoo-pause-warning {
  padding: 18px;
  margin-bottom: 30px;
  color: #9f293d;
  background: #fff0f2;
  border: 1px solid #f0c4cd;
  border-radius: 14px;
  line-height: 2;
}

.rahjoo-service-card #tblTrn thead tr {
  background: #176aa8 !important;
}

.rahjoo-service-card #tblTrn td {
  padding: 14px 10px;
}

.rahjoo-terms > .rahjoo-hero {
  background: linear-gradient(120deg, #17345c, #22597b, #168782);
}

.rahjoo-terms-nav {
  padding: 18px;
  background: #eaf1f8;
  border-radius: 20px;
}

.rahjoo-terms-nav a {
  flex: 1 1 210px;
  padding: 14px;
  font-size: 12px;
  font-weight: 700;
}

.rahjoo-rule {
  box-shadow: 0 9px 30px #132e540a;
}

.rahjoo-rule h3 {
  padding: 14px;
  margin: -8px -8px 16px;
  background: var(--tone-bg);
  border-radius: 14px;
}

.rahjoo-rule p.rahjoo-rule-point {
  position: relative;
  padding: 16px 54px 16px 18px;
  margin: 10px 0;
  border: 1px solid var(--tone-line);
  border-radius: 13px;
  background: linear-gradient(270deg, var(--tone-bg), #ffffff 42%);
}

.rahjoo-rule-point > i {
  position: absolute;
  right: 17px;
  top: 24px;
  color: var(--tone);
  font-size: 18px;
}

@media (max-width: 767px) {
  .rahjoo-dashboard-v2 > .rahjoo-hero {
    padding: 23px;
    min-height: 230px;
  }

  .rahjoo-dashboard-v2 .rahjoo-quick-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .rahjoo-dashboard-v2 .rahjoo-quick-card {
    min-height: 85px;
  }

  .rahjoo-tool-grid {
    grid-template-columns: 1fr;
  }

  .rahjoo-service-symbol {
    display: none;
  }

  .rahjoo-service-card .content {
    margin: 18px;
  }

  .rahjoo-terms-nav a {
    flex-basis: 130px;
  }
}

/* Reservation table footer: separate the summary from page navigation. */
.ticket-list-page div.dt-container > .dt-layout-row:last-child:not(.dt-layout-table) {
  display: flex !important;
  align-items: center;
  justify-content: space-between !important;
  flex-wrap: wrap;
  gap: 20px 32px !important;
  margin: 18px 0 0;
  padding: 18px 12px 8px;
  border-top: 1px solid #e3eaf4;
}

.ticket-list-page div.dt-container > .dt-layout-row:last-child > .dt-layout-cell {
  display: flex !important;
  align-items: center;
  width: auto;
  padding: 0;
}

.ticket-list-page div.dt-info {
  padding: 10px 14px;
  color: #435b7a;
  background: #f1f5fb;
  border: 1px solid #e2eaf5;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.9;
}

.ticket-list-page div.dt-paging nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.ticket-list-page div.dt-paging .dt-paging-button {
  min-width: 40px;
  min-height: 40px;
  margin: 0 !important;
  padding: 8px 12px !important;
  border: 1px solid #dce5f2 !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  color: #355779 !important;
  font-family: inherit;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.6;
  box-shadow: 0 2px 5px #17345408;
}

.ticket-list-page div.dt-paging .dt-paging-button:hover:not(.disabled) {
  background: #edf4ff !important;
  border-color: #9bbcf0 !important;
  color: #194eae !important;
}

.ticket-list-page div.dt-paging .dt-paging-button.current,
.ticket-list-page div.dt-paging .dt-paging-button.current:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #246bfd, #174eb6) !important;
  border-color: #246bfd !important;
  box-shadow: 0 4px 12px #246bfd30;
}

.ticket-list-page div.dt-paging .dt-paging-button.disabled {
  color: #8995a6 !important;
  background: #f5f7fa !important;
  border-color: #edf0f5 !important;
  box-shadow: none;
  cursor: default;
}

.ticket-list-page div.dt-paging .dt-paging-button:focus-visible {
  outline: 3px solid #89b5ff;
  outline-offset: 2px;
}

.ticket-list-page div.dt-paging .ellipsis {
  padding: 4px;
  color: #657892;
}

@media (max-width: 767px) {
  .ticket-list-page div.dt-container > .dt-layout-row:last-child:not(.dt-layout-table) {
    flex-direction: column;
    gap: 16px !important;
    padding-inline: 0;
  }

  .ticket-list-page div.dt-container > .dt-layout-row:last-child > .dt-layout-cell {
    justify-content: center;
    width: 100%;
  }

  .ticket-list-page div.dt-info {
    text-align: center;
  }
}

.ticket-panel-head .ticket-period-note {
  margin-top: 8px;
  color: #24598b;
  font-size: 12px;
  line-height: 1.9;
}

.ticket-period-shortcuts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 22px;
  border-bottom: 1px solid #e3eaf4;
  background: #ffffff;
}

.ticket-period-shortcuts > span {
  color: #526780;
  font-size: 12px;
  margin-inline-end: auto;
}

.ticket-period-shortcuts button {
  padding: 10px 14px;
  min-height: 42px;
  border: 1px solid #cbdcf7;
  border-radius: 11px;
  background: #edf4ff;
  color: #205bc3;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.ticket-period-shortcuts button[aria-pressed="true"] {
  color: #ffffff;
  background: #205bc3;
}

.ticket-period-shortcuts button:focus-visible {
  outline: 3px solid #89b5ff;
  outline-offset: 2px;
}

@media (max-width: 575px) {
  .ticket-period-shortcuts > span {
    width: 100%;
  }

  .ticket-period-shortcuts button {
    flex: 1 1 auto;
  }
}

/* Compact mobile reservations and progressive filter controls. */
.ticket-extra-filters {
  display: contents;
}

.ticket-more-filters {
  display: none;
}

@media screen and (max-width: 767px) {
  .ticket-mobile-upgrade #ticketFilters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ticket-mobile-upgrade .ticket-more-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    width: 100%;
    min-height: 44px;
    padding: 10px;
    background: #edf4ff;
    color: #205bc3;
    border: 1px solid #cbdcf7;
    border-radius: 12px;
    font: inherit;
    font-size: 12px;
  }

  .ticket-mobile-upgrade #ticketFilterCount {
    padding: 3px 8px;
    border-radius: 20px;
    background: #ffffff;
    font-size: 11px;
  }

  .ticket-mobile-upgrade .ticket-extra-filters {
    display: none;
  }

  .ticket-mobile-upgrade .ticket-extra-filters.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ticket-mobile-upgrade #ticketDataTable tbody td[data-label="شماره"],
  .ticket-mobile-upgrade #ticketDataTable tbody td[data-label="تاریخ ثبت"],
  .ticket-mobile-upgrade #ticketDataTable tbody td[data-label="کاربر"],
  .ticket-mobile-upgrade #ticketDataTable tbody td[data-label="موبایل"],
  .ticket-mobile-upgrade #ticketDataTable tbody td[data-label="خرید"] {
    display: none !important;
  }

  .ticket-mobile-upgrade #ticketDataTable tbody tr {
    border-inline-start: 4px solid #9bbcf0;
    padding: 10px;
  }

  .ticket-mobile-upgrade #ticketDataTable tbody td[data-label="مسیر"] {
    padding-block: 12px !important;
    color: #173f70;
    font-size: 14px;
  }

  .ticket-mobile-upgrade #ticketDataTable tbody td[data-label="عملیات"]::before {
    display: none;
  }

  .ticket-mobile-upgrade .ticket-actions button,
  .ticket-mobile-upgrade .ticket-actions a {
    min-height: 44px;
    min-width: 44px;
  }

  .ticket-mobile-upgrade .ticket-actions button {
    justify-content: center;
  }

  #ticketDetailsModal {
    align-items: flex-end;
    padding: 0;
  }

  #ticketDetailsModal .ticket-modal-dialog {
    width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    border-radius: 22px 22px 0 0;
    margin: 0;
  }

  #ticketDetailsModal .ticket-modal-body {
    max-height: calc(90vh - 85px);
    max-height: calc(90dvh - 85px);
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    overscroll-behavior: contain;
  }

  #ticketDetailsModal .ticket-modal-head button {
    min-width: 44px;
    min-height: 44px;
  }
}

.rahjoo-live-overview {
  margin-block: 24px;
}

.rahjoo-live-overview .rahjoo-workspace-heading small {
  color: #526780;
  line-height: 1.9;
}

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

.rahjoo-live-card {
  position: relative;
  display: block;
  padding: 24px;
  border: 1px solid var(--tone-line);
  border-top: 4px solid var(--tone);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, var(--tone-bg));
  color: var(--tone);
  box-shadow: 0 8px 22px #1734540a;
}

.rahjoo-live-card > i {
  position: absolute;
  left: 22px;
  top: 25px;
  padding: 14px;
  background: var(--tone-bg);
  border: 1px solid var(--tone-line);
  border-radius: 16px;
  font-size: 25px;
}

.rahjoo-live-count {
  display: block;
  padding-inline-end: 70px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
}

.rahjoo-live-count small {
  font-size: 12px;
  margin-inline-start: 7px;
}

.rahjoo-live-card h3 {
  margin-top: 16px;
  color: var(--tone);
  font-size: 18px;
}

.rahjoo-live-card p {
  min-height: 42px;
  margin-bottom: 18px;
  color: #465d77;
  font-size: 12px;
  line-height: 1.9;
}

.rahjoo-live-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  border-top: 1px solid var(--tone-line);
  font-weight: 700;
}

.ticket-dashboard-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 20px;
  background: #edf4ff;
  color: #174eac;
  line-height: 1.9;
}

.ticket-dashboard-context a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #ffffff;
  color: #174eac;
  font-weight: 700;
}

/* Touch targets, keyboard visibility and iOS safe areas. */
.rahjoo-page a:focus-visible,
.rahjoo-page button:focus-visible,
.rahjoo-page input:focus-visible,
.rahjoo-page select:focus-visible,
.rahjoo-page textarea:focus-visible {
  outline: 3px solid #689eef !important;
  outline-offset: 3px;
}

.rahjoo-page .page-content {
  padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
}

.rahjoo-page #footer-bar {
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
}

.rahjoo-page #footer-bar > a {
  min-width: 44px;
  min-height: 44px;
}

.ticket-list-page .ticket-status {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.ticket-list-page .ticket-status.searching {
  color: #805000;
  background: #fff4d8;
}

.ticket-list-page .ticket-status.purchased {
  color: #08714f;
  background: #e5f8ed;
}

.ticket-list-page .ticket-status.cancelled {
  color: #a62d42;
  background: #ffedf1;
}

.ticket-list-page .ticket-status.expired {
  color: #4b5a70;
  background: #edf0f5;
}

@media screen and (max-width: 767px) {
  .rahjoo-live-grid {
    grid-template-columns: 1fr;
  }

  .rahjoo-live-card {
    padding: 20px;
  }

  .rahjoo-page .rahjoo-btn,
  .rahjoo-page .rahjoo-service .btn,
  .rahjoo-page .rahjoo-ticket-cancel button,
  .rahjoo-page .ticket-actions button,
  .rahjoo-page .ticket-actions a,
  .rahjoo-page .ticket-period-shortcuts button,
  .rahjoo-page .dt-paging .dt-paging-button {
    min-height: 44px;
    min-width: 44px;
  }

  .rahjoo-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .rahjoo-page select,
  .rahjoo-page textarea {
    font-size: 16px !important;
  }

  #ticketDetailsModal .ticket-detail b {
    font-size: 13px;
    line-height: 1.9;
  }

  #ticketDetailsModal .ticket-detail span {
    color: #526780;
    font-size: 12px;
  }
}

.rahjoo-ticket-new #passengersTbody .remove-row-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 42px;
  padding: 9px 13px !important;
  border: 1px solid #efc5ce !important;
  border-radius: 11px !important;
  background: #fff0f3 !important;
  color: #ab3048 !important;
  font: inherit;
  font-size: 12px !important;
}

.rahjoo-ticket-new #passengersTbody .remove-row-btn:hover {
  background: #ffe1e8 !important;
  border-color: #dc8c9e !important;
}

.rahjoo-advanced #accordionBtn {
  position: relative;
  width: 100%;
  padding-left: 52px !important;
  text-align: right;
}

.rahjoo-advanced #accordionBtn .accordion-icon {
  position: absolute !important;
  left: 18px !important;
  right: auto !important;
  top: calc(50% - 6px) !important;
  margin: 0 !important;
  width: 14px;
  text-align: center;
}

.rahjoo-crud-card .rahjoo-save-back {
  min-height: 44px;
  padding: 11px 18px !important;
  border: 1px solid #087153 !important;
  border-radius: 11px !important;
  background: #087153 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 5px 14px #08715324;
}

.rahjoo-crud-card .rahjoo-save-back * {
  color: #ffffff !important;
}

.rahjoo-crud-card .rahjoo-save-back:hover {
  background: #075d45 !important;
}

.rahjoo-feedback-success {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  margin: 20px 0 28px;
  border: 1px solid #a8ddc8;
  border-right: 5px solid #13885f;
  border-radius: 18px;
  background: linear-gradient(125deg, #e4f8ee, #f4fcf8);
  box-shadow: 0 10px 28px #13885f12;
  color: #126043;
}

.rahjoo-feedback-success > i {
  flex-shrink: 0;
  color: #13885f;
  font-size: 40px;
}

.rahjoo-feedback-success strong {
  display: block;
  font-size: 20px;
  line-height: 1.8;
}

.rahjoo-feedback-success p {
  margin: 8px 0 0;
  color: #285c47;
  font-size: 14px;
  line-height: 2;
}

@media (max-width: 575px) {
  .rahjoo-feedback-success {
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
  }

  .rahjoo-feedback-success > i {
    margin-top: 5px;
    font-size: 30px;
  }
}

/* Form actions must remain readable even in dynamically inserted modals. */
body.rahjoo-page-passengers .btn,
body.rahjoo-page-users .btn,
body.rahjoo-page-passengers button[type="submit"],
body.rahjoo-page-users button[type="submit"],
body.rahjoo-page-passengers input[type="submit"],
body.rahjoo-page-users input[type="submit"],
body.rahjoo-page-passengers .rahjoo-save-back,
body.rahjoo-page-users .rahjoo-save-back {
  color: #124b38 !important;
  background: #e2f5eb !important;
  border: 1px solid #9acdb5 !important;
  min-height: 44px;
  border-radius: 11px !important;
  font-weight: 700 !important;
  opacity: 1;
}

body.rahjoo-page-passengers .btn *,
body.rahjoo-page-users .btn *,
body.rahjoo-page-passengers .rahjoo-save-back *,
body.rahjoo-page-users .rahjoo-save-back * {
  color: #124b38 !important;
}

body.rahjoo-page-passengers .btn-danger,
body.rahjoo-page-users .btn-danger {
  color: #9f2940 !important;
  background: #fff0f3 !important;
  border-color: #efc5ce !important;
}

body.rahjoo-page-passengers .btn-danger *,
body.rahjoo-page-users .btn-danger * {
  color: #9f2940 !important;
}

@media print {
  .ticket-period-shortcuts {
    display: none !important;
  }
  .rahjoo-hero,
  .rahjoo-quick-grid,
  #footer-bar,
  .header,
  .page-title {
    display: none !important;
  }

  .rahjoo-shell {
    width: 100%;
    padding: 0;
  }

  .rahjoo-panel,
  .rahjoo-form-card {
    border: 0 !important;
    box-shadow: none !important;
  }
}
