/* Fix: prevent the legacy homepage stylesheet from applying its patterned background to the template header. */
.hero-viewport-wrapper header.main-header {
  background-color: #ffffff;
  background-image: none;
}

/* Fix: restore the template's normal line-height after Bootstrap's global body line-height. */
.hero-viewport-wrapper {
  line-height: normal;
}

/* Fix: remove Bootstrap's h1 top and bottom margins from the template department title. */
.hero-viewport-wrapper .dept-title h1 {
  margin: 0;
}

/* Fix: restore the template's three-pixel title-to-government gap and remove Bootstrap's paragraph bottom margin. */
.hero-viewport-wrapper .dept-title p {
  margin: 3px 0 0;
}

/* Fix: remove Bootstrap navbar defaults that are not present in the template navbar. */
.hero-viewport-wrapper .navbar {
  min-height: 0;
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
}

/* Fix: remove Bootstrap list margins and padding from the template navigation list. */
.hero-viewport-wrapper .nav-links {
  margin: 0;
  padding: 0;
}

/* Fix: prevent legacy list rules from adding spacing around navigation items. */
.hero-viewport-wrapper .nav-links li {
  margin: 0;
  padding: 0;
}

/* Fix: make the template home link stretch across the full blue navigation bar. */
.hero-viewport-wrapper .nav-home {
  align-self: stretch;
}

/* Fix: prevent Bootstrap link line-height and margins from changing template navigation spacing. */
.hero-viewport-wrapper .nav-links li a {
  margin: 0;
  line-height: normal;
}

/* Fix: keep the language proxy buttons available to language_change.js without displaying them. */
.language-proxy {
  display: none !important;
}

/* Fix: provide the requested TT control menu without changing the template's header dimensions. */
.font-size-control {
  position: relative;
}

/* Fix: make the TT control match the template's compact icon treatment. */
.font-size-control > button {
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Fix: keep the font-size choices hidden until the TT control is opened. */
.font-size-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid #cccccc;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  z-index: 100001;
  min-width: 54px;
}

/* Fix: show the font-size choices only while the TT control is active. */
.font-size-menu.is-open {
  display: flex;
  flex-direction: column;
}

/* Fix: make each font-size choice usable in the compact dropdown. */
.font-size-menu button {
  border: 0;
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  text-align: left;
}

/* Fix: provide a visible hover state for the font-size choices. */
.font-size-menu button:hover {
  background: #f0f4f8;
}
/* Fix: provide a Devanagari-capable fallback for Hindi text in the shared shell and home page. */
.hero-viewport-wrapper,
.main-page-content,
.footer-wrapper,
.bottom-footer-policy-bar,
.bottom-footer-copyright-bar {
  font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', Arial, sans-serif;
}

/* Fix: keep agent-page server messages inside the template login card without changing template login rules. */
.agent-login-page .agent-login-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
}

/* Fix: style suggestion validation and server messages like the agent-login errors inside the card. */
.agent-login-error {
  background: #fdecec;
  border: 1px solid #f5c2c2;
  border-radius: 6px;
  color: #9b1d1d;
  padding: 11px 14px;
}

/* Fix: keep the server-message icon aligned with multi-line validation text. */
.agent-login-page .agent-login-error > i {
  flex: 0 0 auto;
  margin-top: 2px;
}

/* Fix: give the CAPTCHA image and refresh control a compact row above its input. */
.agent-login-page .agent-captcha-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

/* Fix: preserve an accessible button appearance for the CAPTCHA refresh control. */
.agent-login-page #agentCaptchaRefresh {
  border: 1px solid #ccd;
  background: transparent;
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  line-height: 1;
}

/* Fix: remove the legacy homepage style.css noise background from the template login title. */
.agent-login-page .login-title {
  background: none;
}

/* Fix: remove the legacy homepage style.css padding from the template login title. */
.agent-login-page .login-title {
  padding: 0;
}

/* Fix: remove Bootstrap 3's default h2 top margin from the template login title. */
.agent-login-page .login-title {
  margin-top: 0;
}

/* Fix: remove Bootstrap 3's default h2 top margin from the template page banner title. */
.agent-login-page .banner-container h2 {
  margin-top: 0;
}

/* Fix: restore the white bordered input appearance lost to portal.css's later .custom-input rule. */
.suggestion-inner-box .custom-input {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 16px;
}

/* Fix: keep activation guidance text readable under the template Employee Login field. */
.agent-login-page .agent-activation-hint {
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 8px;
}

/* Fix: emphasize the OTP validity guidance with the same warning color used by the template. */
.agent-login-page #otpHint {
  color: #b45309;
}

/* Fix: keep the real request form's OTP-gated fields hidden until request.js verifies the mobile OTP. */
.request-page .otpVerifiedSection {
  display: none;
}

/* Fix: hide the mobile verification stage after the existing controller reports a completed request. */
.request-page .mobileVerifyDiv.request-completed {
  display: none;
}

/* Fix: keep the Bootstrap terms modal hidden until Bootstrap adds its .in state, despite the template overlay class using flex display. */
.request-terms-modal.modal-overlay {
  display: none;
}

/* Fix: use the template overlay positioning and blur while preserving Bootstrap's show/hide and backdrop behavior. */
.request-terms-modal.modal-overlay.in {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

/* Fix: constrain the legacy Bootstrap terms dialog to the template modal width without changing Bootstrap globally. */
.request-terms-modal .modal-dialog {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

/* Fix: apply the template card surface to the existing terms modal while preserving its Bootstrap events. */
.request-terms-modal .modal-content.modal-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

/* Fix: left-align the terms title like the template instead of allowing the legacy heading to appear centered. */
.request-terms-modal .modal-header {
  justify-content: flex-start;
  padding: 16px 20px;
}

/* Fix: keep the bilingual title anchored at the modal's left content padding. */
.request-terms-modal .modal-title {
  flex: 1 1 auto;
  justify-content: flex-start;
  margin: 0;
  text-align: left;
}

/* Fix: keep the template close control at the far right of the terms modal header. */
.request-terms-modal .modal-close-btn {
  margin-left: auto;
  flex: 0 0 auto;
}

/* Fix: stack the terms dialog cleanly on phone widths without changing the modal contract. */
@media (max-width: 600px) {
  .request-terms-modal .modal-dialog {
    margin: 20px 12px;
  }
}

/* Sitemap page: reuse the portal card visual language for grouped visitor links. */
.sitemap-page {
  max-width: 1200px;
  margin: 45px auto;
  padding: 0 20px;
}

/* Sitemap page: provide the simple template-aligned white card surface. */
.sitemap-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 34, 68, 0.08);
}

/* Sitemap page: style each link group as a compact portal card section. */
.sitemap-group {
  padding: 22px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

/* Sitemap page: match the section heading color and spacing used by the template pages. */
.sitemap-group h3 {
  margin: 0 0 14px;
  color: #002244;
  font-size: 19px;
  font-weight: 700;
}

/* Sitemap page: keep visitor links readable and aligned with the shared portal palette. */
.sitemap-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Sitemap page: provide the template-style link interaction without changing shared navigation. */
.sitemap-links li + li {
  margin-top: 10px;
}

/* Sitemap page: make every sitemap link a full-width, keyboard-friendly target. */
.sitemap-links a {
  display: block;
  padding: 10px 12px;
  color: #0060a8;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

/* Sitemap page: use the template hover treatment for link feedback. */
.sitemap-links a:hover,
.sitemap-links a:focus {
  color: #004b85;
  background: #eaf3fb;
  text-decoration: none;
}

/* Sitemap page: collapse the two-column card into one column on narrow screens. */
@media (max-width: 700px) {
  .sitemap-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/* Dashboard page: center the legacy chart collection inside the redesigned page surface. */
.dashboard-page {
  width: 90%;
  max-width: none;
  margin: 35px auto;
  padding: 0 20px;
}

/* Dashboard page: provide the template-style white card without changing chart dimensions or data. */
.dashboard-card {
  overflow: hidden;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 34, 68, 0.08);
}

/* Dashboard page: remove Bootstrap column floats and gutters so each existing chart occupies the card width. */
.dashboard-page .dashboard-card > .col-md-12 {
  float: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  clear: both;
}

/* Dashboard page: separate the existing chart blocks with the template's light divider treatment. */
.dashboard-page .dashboard-card > .col-md-12 + .col-md-12 {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eef2f6;
}

/* Dashboard page: align the date controls as a responsive template filter row. */
.dashboard-filter-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

/* Dashboard page: remove Bootstrap column padding inside the redesigned filter row. */
.dashboard-filter-row [class*="col-md-"] {
  float: none;
  padding-left: 0;
  padding-right: 0;
}

/* Dashboard page: keep the filter prompt readable in the template card. */
.dashboard-filter-row .col-md-5 {
  flex: 1 1 auto;
  margin-left: 0 !important;
  background: #0060a8 !important;
  border-radius: 6px;
  line-height: 24px;
  text-align: center;
}

/* Dashboard page: keep date fields and the Show action aligned without changing their IDs or handlers. */
.dashboard-filter-row .col-md-2 {
  flex: 0 1 220px;
}

/* Dashboard page: make the existing export/date jump controls fit the redesigned card. */
.dashboard-page #top1,
.dashboard-page #top2,
.dashboard-page #showChart {
  border-radius: 8px;
}

/* Dashboard page: stack the filter controls on phones while preserving the chart containers. */
@media (max-width: 768px) {
  .dashboard-page {
    margin: 20px auto;
    padding: 0 12px;
  }

  .dashboard-card {
    padding: 16px;
  }

  .dashboard-filter-row {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-filter-row .col-md-2,
  .dashboard-filter-row .col-md-5 {
    flex-basis: auto;
    width: 100%;
  }
}

/* Fix: make the legacy progress element the template stepper's visible fill so request.js width updates remain exact. */
.request-page .stepper-progress-fill#progress {
  display: block;
}

/* Fix: keep the real CAPTCHA image and refresh link aligned after replacing Bootstrap columns with template wrappers. */
.request-page .image,
.request-page .refresh {
  display: inline-flex;
  align-items: center;
}

/* Fix: keep the legacy submit and reset buttons on one horizontal template action row. */
.request-page .btn-group-row > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Fix: preserve the existing Bootstrap modal contract while preventing legacy page spacing from pushing the request OTP dialog off-screen. */
.request-page .otp-input-modal .modal-content {
  margin-top: 0;
}

/* Fix: constrain the real Bootstrap OTP dialog to the template card width instead of Bootstrap's wide legacy layout. */
.request-page .otp-input-modal .modal-dialog {
  width: 100%;
  max-width: 620px;
  margin: 30px auto;
}

/* Fix: remove legacy modal spacing and keep the OTP card aligned with the template modal design. */
.request-page .otp-input-modal .request-otp-modal-content {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: visible;
}

/* Fix: place the existing close image at the OTP card corner without using the legacy negative modal offsets. */
.request-page .otp-input-modal .request-otp-close {
  position: absolute !important;
  z-index: 2;
  top: -16px !important;
  right: -14px !important;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

/* Fix: give the OTP title its own template-style header row instead of inheriting Bootstrap modal-header columns. */
.request-page .request-otp-header {
  padding: 24px 24px 16px;
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
}

/* Fix: keep the OTP heading compact and prevent Bootstrap's h3 margins from enlarging the popup. */
.request-page .request-otp-title {
  margin: 0;
  color: #002244;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

/* Fix: provide the template modal body spacing without the legacy .form_body margin and padding. */
.request-page .request-otp-body {
  padding: 24px;
  background: #ffffff;
}

/* Fix: group OTP notice, field and resend controls in the same soft inner panel as the template OTP design. */
.request-page .request-otp-inner-box {
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

/* Fix: make the OTP notice readable and prevent the old Bootstrap row from forcing narrow columns. */
.request-page .request-otp-notice {
  margin: 0 0 18px;
  color: #475569;
  font-size: 15px;
  line-height: 1.5;
}

/* Fix: align the OTP label with the template field styling. */
.request-page .request-otp-label {
  display: block;
  margin: 0 0 8px;
  color: #1e293b;
  font-size: 14px;
  font-weight: 700;
}

/* Fix: replace the legacy shadowed narrow OTP input with the template's full-width bordered control. */
.request-page .request-otp-input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: none;
}

/* Fix: keep the resend text and timer in a responsive row instead of the old padded Bootstrap row. */
.request-page .request-otp-resend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  color: #475569;
  font-size: 14px;
  line-height: 1.4;
}

/* Fix: align resend and countdown controls without inheriting old btn_shadow padding and box shadows. */
.request-page .request-otp-resend-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Fix: style the existing resend button as a compact template action while keeping its ID and click handler. */
.request-page .request-otp-resend {
  padding: 10px 14px;
  color: #ffffff;
  background: #0060a8;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  cursor: pointer;
}

/* Fix: keep the legacy disabled resend state visible and understandable. */
.request-page .request-otp-resend:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Fix: give the existing timer a stable template-compatible emphasis. */
.request-page .request-otp-timer {
  min-width: 48px;
  color: #475569;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

/* Fix: align the existing Close and Verify OTP buttons in a clean modal action row. */
.request-page .request-otp-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

/* Fix: provide the template button treatment without changing Bootstrap's shared .btn rules. */
.request-page .request-otp-button {
  padding: 10px 22px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

/* Fix: keep the OTP close action visually secondary. */
.request-page .request-otp-button-secondary {
  color: #475569;
  background: #e2e8f0;
}

/* Fix: keep the OTP verification action visually primary. */
.request-page .request-otp-button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0060a8 0%, #004b85 100%);
  box-shadow: 0 4px 12px rgba(0, 96, 168, 0.25);
}

/* Fix: stack OTP controls on narrow screens so Hindi text and buttons do not overlap. */
@media (max-width: 600px) {
  .request-page .otp-input-modal .modal-dialog {
    margin: 20px 12px;
  }

  .request-page .request-otp-resend-row,
  .request-page .request-otp-resend-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .request-page .request-otp-actions {
    justify-content: stretch;
  }

  .request-page .request-otp-button {
    flex: 1;
  }
}

/* Track page: use the template section spacing while preserving the legacy request form IDs and handlers. */
.track-page {
  width: 100%;
}

/* Track page: override the legacy homepage .form rule so the template form-section width and spacing win. */
.track-page.form {
  width: 90%;
  max-width: 1200px;
  margin: 45px auto;
  padding: 45px 50px;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 34, 68, 0.08);
}

/* Track page: keep the template card nested inside the page section without inheriting legacy form widths. */
.track-page .track-outer-card {
  width: 100%;
}

/* Track page: keep the legacy search form inside the template card without Bootstrap's extra outer spacing. */
.track-page .track-outer-card,
.track-page .track-result-section,
.track-page .result-card {
  box-sizing: border-box;
}

/* Track page: prevent Bootstrap's form-body margins from changing the template card interior. */
.track-page .track-form-body,
.track-page .result-card-body {
  margin: 0;
}

/* Track page: keep legacy labels and radio controls aligned in the template grid. */
.track-page .track-form-body .control-label,
.track-page .track-form-body .radio-inline {
  color: #002244;
  line-height: 1.45;
}

/* Track page: make the existing search controls use the template input appearance. */
.track-page .track-form-body .custom-input {
  width: 100%;
  padding: 12px 16px;
  color: #0f172a;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Track page: fit the real server CAPTCHA image into the template captcha box without replacing its generated value. */
.track-page .captcha-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 130px;
  padding: 8px 20px;
}

/* Track page: keep the server CAPTCHA image legible inside the template captcha box. */
.track-page .captcha-box img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Track page: use the template refresh control appearance while preserving changeCaptch() on the legacy anchor. */
.track-page .captcha-refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 46px;
  color: #0060a8;
  font-size: 22px;
  cursor: pointer;
}

/* Track page: align the existing refresh button and submit action with the template controls. */
.track-page .refresh,
.track-page .btn-track {
  cursor: pointer;
}

/* Track page: keep the hidden result wrapper and legacy result blocks controlled by the old inline script. */
.track-page.track-result-section.hide,
.track-page .result-card.hide,
.track-page .result-card .hide {
  display: none;
}

/* Track page: style the dynamic result cards without changing their duplicate legacy label IDs. */
.track-page .result-card {
  width: 100%;
  margin: 0 auto 24px;
  padding: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Track page: give dynamic result labels the same readable spacing as the template detail panels. */
.track-page .result-card-body > form > .form-group {
  margin-right: 0;
  margin-left: 0;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f6;
}

/* Track page: apply the template table treatment to the legacy DataTables target and generated rows. */
.track-page #table {
  width: 100% !important;
  margin: 18px 0 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-collapse: separate;
  border-spacing: 0;
}

/* Track page: keep generated table headers and cells consistent with the template table look. */
.track-page #table > thead > tr > th,
.track-page #table > tbody > tr > td {
  padding: 12px 14px;
  vertical-align: middle;
  border-color: #e2e8f0;
}

/* Track page: emphasize the generated table header without changing DataTables behavior. */
.track-page #table > thead > tr > th {
  color: #002244;
  background: #eef6fb;
  font-weight: 700;
}

/* Track page: style DataTables' generated search, length, information and pagination controls inside the result card. */
.track-page .dataTables_wrapper {
  padding: 12px 0;
  color: #475569;
}

/* Track page: keep DataTables inputs and selects visually consistent with the template controls. */
.track-page .dataTables_filter input,
.track-page .dataTables_length select {
  min-height: 34px;
  padding: 5px 9px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

/* Track page: style DataTables pagination links while preserving their generated classes and events. */
.track-page .dataTables_paginate .paginate_button {
  padding: 5px 10px;
  color: #0060a8 !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 5px;
}

/* Track page: keep generated attachment and media links readable inside table cells. */
.track-page #table a,
.track-page #table audio,
.track-page #table video,
.track-page .attachmentLink,
.track-page .media {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Track page: scope the modal reset so the legacy global .modal-content margin cannot push these dialogs down. */
.track-page-modal .modal-dialog {
  width: auto;
  max-width: 640px;
  margin: 30px auto;
}

/* Track page: reuse the request OTP card treatment for OTP, clarification and reopen dialogs. */
.track-page-modal .modal-content {
  position: relative;
  margin-top: 0 !important;
  padding: 24px !important;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Track page: remove Bootstrap container width constraints inside the legacy modal markup. */
.track-page-modal .container {
  width: auto;
  padding-right: 0;
  padding-left: 0;
}

/* Track page: place the existing cross-icon close control at the modal card corner. */
.track-page-modal .cross {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: -14px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

/* Track page: reset old modal-header padding so the existing forms occupy the full template card width. */
.track-page-modal .modal-header.form_body {
  padding: 18px 0 0;
  background: #ffffff;
  border: 0;
}

/* Track page: give modal form fields the same control treatment as the request OTP modal. */
.track-page-modal .form-control {
  min-height: 44px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: none;
}

/* Track page: keep modal actions aligned and prevent the legacy pull wrapper from collapsing. */
.track-page-modal .pull {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

/* Track page: keep the modal action buttons consistent with the request page OTP action buttons. */
.track-page-modal .btn_submit {
  min-height: 40px;
  padding: 9px 18px;
  border: 0;
  border-radius: 7px;
}

/* Track page: keep Hindi modal text and generated media usable on phone widths. */
@media (max-width: 600px) {
  .track-page-modal .modal-dialog {
    margin: 20px 12px;
  }

  .track-page-modal .pull {
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .track-page-modal .pull .btn_submit {
    flex: 1 1 140px;
  }
}
