/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

:root {
  --primary-blue-color: #063692;
}

.motormova-step-progress {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  margin: 0 0 50px;
}

.motormova-step-progress__item {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8px;
  color: #5b6472;
  text-align: center;
}

.motormova-step-progress__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 17px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 4px;
  background: #c9d8f0;
  border-radius: 999px;
  z-index: 0;
}

.motormova-step-progress__number {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #c9d8f0;
  color: #ffffff;
  font-weight: 800;
  flex: 0 0 auto;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(6, 54, 146, 0.12);
}

.motormova-step-progress__title {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #787878;
}

.motormova-step-progress__item.is-active .motormova-step-progress__title {
  color: #000000;
}

.motormova-step-progress__item.is-active .motormova-step-progress__number,
.motormova-step-progress__item.is-complete .motormova-step-progress__number {
  background: var(--primary-blue-color);
  color: #fff;
}

.motormova-step-progress__item.is-active::after,
.motormova-step-progress__item.is-complete::after {
  background: var(--primary-blue-color);
}

.motormova-step-progress__item.is-complete {
  color: #000000;
}

@media (max-width: 991px) {
  .motormova-step-progress {
    flex-wrap: wrap;
    gap: 12px 0;
    margin-bottom: 14px;
  }

  .motormova-step-progress__item {
    flex: 1 1 50%;
    min-width: 50%;
    padding: 0 4px;
  }

  .motormova-step-progress__item:not(:last-child)::after {
    left: calc(50% + 16px);
    width: calc(100% - 32px);
  }

  .motormova-step-progress__title {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .motormova-step-progress {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
    margin-bottom: 12px;
  }

  .motormova-step-progress__item {
    flex: none;
    min-width: 0;
    padding: 0;
  }

  .motormova-step-progress__item::after {
    display: none;
  }

  .motormova-step-progress__title {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.15;
  }

  .motormova-step-progress__number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  #motormovaQuoteForm {
    padding: 16px !important;
  }
}

@media (max-width: 420px) {
  .motormova-step-progress {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .motormova-step-progress__item {
    align-items: flex-start;
  }

  .motormova-step-progress__title {
    text-align: left;
  }

  #motormovaQuoteForm {
    padding: 12px !important;
  }
}

.btn-primary {
  background: var(--primary-blue-color) !important;
  border: unset;
  color: #fff;
}

.btn-danger {
  background: #dc3545 !important;
}


.btn-sm {
  padding: 0.25rem 0.5rem !important;
  font-size: 0.875rem !important;
  border-radius: var(--bs-border-radius-sm);
}

.btn-outline-secondary {
  background-color: transparent !important;
  border: 1px solid var(--primary-blue-color) !important;
  color: var(--primary-blue-color) !important;
}

.btn-success {
  background-color: #28a745 !important;
  border-color: transparent !important;
  color: #fff !important;
}

.btn-outline-success {
  background-color: transparent !important;
  border: 1px solid #28a745 !important;
  color: #28a745 !important;
}

.btn-outline-secondar:hover {
  background-color: var(--primary-blue-color) !important;
  color: #fff !important;
}

.motormova-btn-loader {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.45rem;
  vertical-align: -0.12em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: motormova-spin 0.75s linear infinite;
}

@keyframes motormova-spin {
  to {
    transform: rotate(360deg);
  }
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

input.error,
select.error,
textarea.error {
  border-color: #dc3545;
}


/* steps */
.form-step {
  display: none;
  transition: all 0.3s ease;
}

.form-step.active {
  display: block;
}

/* headings */
.form-step h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a1a1a;
}

/* inputs & selects */
.form-step .form-control {
  font-size: 15px;
  border-radius: 8px;
  padding: 12px 12px;
  border: 1px solid #ddd;
  transition: 0.3s;
}



.form-step .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 5px rgba(13, 110, 253, 0.2);
}

/* buttons */
.btn {
  border-radius: 8px !important;
  padding: 10px 25px !important;
  font-weight: 500 !important;
}

.btn-primary {
  background: var(--primary-blue-color) !important;
  border-color: transparent !important;
  color: #fff;
}

/* error messages */
input.error,
select.error,
textarea.error {
  border-color: #dc3545;
}

.error-message {
  display: block;
  margin-top: 5px;
  font-size: 0.875rem;
}

/* password strength */
.password-strength {
  font-size: 0.875rem;
  margin-top: 5px;
  font-weight: 600;
}

/* checkbox styling */
.form-check-label {
  font-weight: 500;
}

/* spacing for step navigation */
.form-step .btn {
  margin-right: 10px;
  margin-top: 5px;
  padding: 8px 32px;
  border: none;
  border-radius: 30px;
}

/* responsive tweaks */
@media (max-width: 576px) {
  #motormovaQuoteForm {
    padding: 20px;
  }
}

.form-label {
  font-size: 15px;
}

/* .mm-dashboard {
  min-height: 100vh;
  background: #f5f7fb;
  font-family: system-ui, sans-serif;
} */

.mm-sidebar {
  width: 260px;
  background: #111827;
  color: #fff;
  transition: width 0.3s ease;
}

.mm-sidebar.collapsed {
  width: 80px;
}

.mm-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  font-size: 18px;
}

.mm-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-menu li a {
  display: block;
  padding: 14px 20px;
  color: #cbd5e1;
  text-decoration: none;
}

.mm-menu li a:hover {
  background: #1f2933;
  color: #fff;
}

.mm-menu .logout a {
  color: #f87171;
}

.mm-sidebar.collapsed .mm-menu li a {
  text-align: center;
  padding: 14px 10px;
  font-size: 12px;
}

.mm-sidebar.collapsed strong {
  display: none;
}

.mm-content {
  padding: 24px;
}

.mm-card {
  padding: 20px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.mm-card h6 {
  color: #6b7280;
  margin-bottom: 8px;
}

.mm-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.mm-loading-dots {
  display: flex;
  gap: 8px;
}

.mm-loading-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0d6efd;
  animation: mm-bounce 1s infinite ease-in-out;
  opacity: 0.6;
}

.mm-loading-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.mm-loading-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes mm-bounce {

  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .mm-sidebar {
    position: fixed;
    height: 100%;
    z-index: 1000;
  }
}


.mm-dashboard-header h3 {
  font-weight: 600;
}

.mm-stat-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
  transition: all .3s ease;
}

.mm-stat-card:hover {
  transform: translateY(-4px);
}

.mm-stat-label {
  font-size: 13px;
  color: #6c757d;
}

.mm-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .06);
}

.mm-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.mm-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f1f1f1;
}

.mm-list-item:last-child {
  border-bottom: none;
}

.mm-list-item p {
  margin: 0;
  font-size: 14px;
  color: #6c757d;
}

.mm-status {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 500;
}

.mm-status.open {
  background: #e7f1ff;
  color: #0d6efd;
}

.mm-status.quote_requested {
  background: #d1e7dd;
  color: #0f5132;
}

.mm-status.quoted {
  background: #fff3cd;
  color: #856404;
}

.mm-status.pending {
  background: #fef3c7;
  color: #92400e;
}

.mm-status.pending-payment {
  background: #fef3c7;
  color: #92400e;
}

.mm-status.accepted {
  background: #d1fae5;
  color: #065f46;
}

.mm-status.in_transit {
  background: #dbeafe;
  color: #1e40af;
}

.mm-status.delivered {
  background: #d1fae5;
  color: #065f46;
}

.mm-status.cancelled {
  background: #f8d7da;
  color: #842029;
}

.mm-status.shipping {
  background: #fff3cd;
  color: #856404;
}

.mm-status.delayed {
  background: #fde2e1;
  color: #dc3545;
}

.mm-status.delivered {
  background: #e6f4ea;
  color: #198754;
}

.mm-badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 50px;
}

.mm-badge-primary {
  background: #e7f1ff;
  color: #0d6efd;
}

.mm-badge-warning {
  background: #fff3cd;
  color: #856404;
}

.mm-timeline-item {
  padding: 14px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.mm-timeline-item span {
  font-size: 12px;
  font-weight: 600;
}

.mm-route-timeline {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  padding-bottom: 6px;
}

.mm-route-step {
  --mm-route-color: #cbd5e1;
  position: relative;
  flex: 1 0 230px;
  min-width: 230px;
  padding: 0 12px;
}

.mm-route-step::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 3px;
  background: var(--mm-route-color);
  z-index: 0;
}

.mm-route-step:last-child::before {
  display: none;
}

.mm-route-step-axis {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  z-index: 1;
}

.mm-route-step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 3px solid var(--mm-route-color);
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.mm-route-step-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  min-height: 128px;
}

.mm-route-step--completed {
  --mm-route-color: #16a34a;
}

.mm-route-step--current {
  --mm-route-color: #0284c7;
}

.mm-route-step--upcoming {
  --mm-route-color: #cbd5e1;
}

.mm-route-step--cancelled {
  --mm-route-color: #dc2626;
}

.mm-route-step--current .mm-route-step-card {
  border-color: #bae6fd;
  background: #f0f9ff;
}

.mm-route-step--completed .mm-route-step-card {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.mm-route-step--cancelled .mm-route-step-card {
  border-color: #fecaca;
  background: #fef2f2;
}

@media (max-width: 767px) {
  .mm-route-step {
    flex-basis: 270px;
    min-width: 270px;
  }
}

.mm-link {
  font-size: 14px;
  text-decoration: none;
}

.mm-job-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .06);
  transition: all .3s ease;
  height: 100%;
}

.mm-job-card:hover {
  transform: translateY(-5px);
}

.mm-job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mm-job-type {
  font-size: 13px;
  font-weight: 600;
  color: #0d6efd;
}

.mm-job-route {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.mm-job-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 15px;
}

.mm-job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mm-job-footer p {
  margin: 0;
  font-weight: 600;
}

.mm-job-actions button {
  margin-left: 8px;
}

.mm-pagination .page-link {
  border-radius: 10px;
  padding: 8px 14px;
  color: #212529;
  border: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.mm-pagination .page-item.active .page-link {
  background: #0d6efd;
  color: #fff;
}

.mm-pagination .page-item.disabled .page-link {
  opacity: .5;
  pointer-events: none;
}


.mm-modal {
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .2);
}

.mm-job-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.mm-job-detail-grid label {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 2px;
}

.brief_desc {
  margin-top: 15px;
}

.brief_desc label {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 2px;
}

.mm-job-detail-grid p {
  font-weight: 600;
  margin: 0;
}

.mm-quote-card {
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .07);
  transition: all .3s ease;
  height: 100%;
}

.mm-quote-card:hover {
  transform: translateY(-6px);
}

.mm-quote-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mm-quote-price {
  font-size: 22px;
  font-weight: 700;
}

.mm-route {
  font-weight: 600;
  margin-bottom: 10px;
}

.mm-quote-meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 18px;
}

.mm-status-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* Status styles */
.mm-status-badge.pending {
  background: #fff3cd;
  color: #856404;
}

.mm-status-badge.accepted {
  background: #d1e7dd;
  color: #0f5132;
}

.mm-status-badge.quote_requested {
  background: #dbeafe;
  color: #1e40af;
}

.mm-status-badge.expired {
  background: #f8d7da;
  color: #842029;
}

.mm-quote-card.accepted {
  border-left: 4px solid #198754;
}

.mm-quote-card.pending {
  border-left: 4px solid #ffc107;
}

.mm-quote-card.quote_requested {
  border-left: 4px solid #0d6efd;
}

.mm-quote-card.expired {
  opacity: .6;
  border-left: 4px solid #dc3545;
}

.mm-quote-footer {
  text-align: right;
}


.mm-modal {
  border-radius: 16px;
  border: none;
}

.mm-card {
  background: #f9fafb;
  border-radius: 14px;
  padding: 18px;
}

.mm-card h6 {
  font-weight: 600;
  margin-bottom: 12px;
}

.mm-card.highlight {
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  border: 1px solid #dbe6ff;
}

.mm-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mm-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}

.mm-list strong {
  color: #555;
  font-weight: 500;
}

.badge.pending {
  background: #fff3cd;
  color: #856404;
}

.badge.accepted {
  background: #d1fae5;
  color: #065f46;
}

.badge.rejected {
  background: #fee2e2;
  color: #991b1b;
}


.active-job-card {
  background: #ffffff;
  border-left: 4px solid #4f46e5;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-transit {
  background: #e0f2fe;
  color: #0369a1;
}

.status-delayed {
  background: #fee2e2;
  color: #991b1b;
}

.job-route {
  position: relative;
  padding-left: 20px;
}

.route-point {
  display: flex;
  gap: 12px;
}

.route-line {
  width: 2px;
  height: 30px;
  background: #e5e7eb;
  margin-left: 6px;
  margin-bottom: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 4px;
}

.dot.pickup {
  background: #10b981;
}

.dot.delivery {
  background: #3b82f6;
}

.job-meta span {
  margin-right: 12px;
  font-size: 14px;
  color: #374151;
}

.completed-job-card {
  background: #ffffff;
  border-left: 4px solid #10b981;
}

.status-completed {
  background: #dcfce7;
  color: #166534;
}

.rating {
  font-size: 14px;
  color: #f59e0b;
}

.my-info-wrapper {
  max-width: 900px;
}

.info-card {
  background: #fff;
  border-radius: 12px;
}

.profile-card {
  padding: 20px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h6 {
  margin: 0;
  font-weight: 600;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-grid label {
  font-size: 12px;
  color: #64748b;
}

.info-grid p {
  margin: 0;
  font-weight: 500;
}

.badge-verified {
  background: #dcfce7;
  color: #166534;
}

.badge-rating {
  background: #fef3c7;
  color: #92400e;
}

.service-chip {
  display: inline-block;
  padding: 6px 12px;
  background: #f1f5f9;
  border-radius: 20px;
  font-size: 13px;
  margin-right: 8px;
  margin-bottom: 6px;
}

.motormova-myinfo {
  padding: 30px 40px;
}

.page-header h4 {
  font-weight: 600;
}

.mm-card {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}

.mm-card .card-header {
  background: transparent;
  border-bottom: 1px solid #f1f5f9;
  padding: 18px 24px;
}

.mm-card .card-body {
  padding: 24px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}

.form-select {
  border-radius: 10px;
  height: 46px;
}

.mm-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}

.sticky-save {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 16px 0;
  border-top: 1px solid #e5e7eb;
  text-align: right;
}

.mm-my-account .mm-account-hero {
  background: linear-gradient(135deg, #0f766e 0%, #0e7490 100%);
  color: #f8fafc;
}

.mm-my-account .mm-account-hero .text-muted {
  color: rgba(241, 245, 249, 0.88) !important;
}

.mm-my-account .mm-account-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.mm-my-account .mm-account-badge {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.mm-my-account .mm-account-stat {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px;
  min-height: 88px;
}

.mm-my-account .mm-account-stat .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(241, 245, 249, 0.86);
  margin-bottom: 4px;
}

.mm-my-account .mm-account-stat .value {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  word-break: break-word;
}

@media (max-width: 767.98px) {
  .mm-my-account .mm-account-stat {
    min-height: 72px;
  }

  .mm-my-account .mm-account-avatar {
    width: 72px;
    height: 72px;
  }
}

/* Customer Dashboard Styles */
.btn {
  text-decoration: none !important;
  border-radius: 8px;
}

.mm-dashboard-header h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
}

.mm-dashboard-header p {
  font-size: 15px;
}

.mm-nav-pills {
  background: #ffffff;
  padding: 8px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  gap: 6px;
}

.mm-nav-pills .nav-link {
  border-radius: 12px;
  padding: 10px 20px;
  color: #6b7280;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.mm-nav-pills .nav-link:hover {
  background: #f3f4f6;
  color: #374151;
}

.mm-nav-pills .nav-link.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.mm-stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  height: 100%;
}

.mm-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.mm-stat-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mm-stat-label {
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mm-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.mm-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafbfc;
}

.mm-shipment-item {
  padding: 20px 24px;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.2s ease;
}

.mm-shipment-item:hover {
  background: #f9fafb;
}

.mm-shipment-item:last-child {
  border-bottom: none;
}

.mm-shipment-icon {
  width: 56px;
  height: 56px;
  background: #f8f9fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mm-status-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mm-status-badge.status-transit {
  background: #dbeafe;
  color: #1e40af;
}

.mm-status-badge.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.mm-status-badge.status-delivered {
  background: #d1fae5;
  color: #065f46;
}

.mm-status-badge.status-delayed {
  background: #fee2e2;
  color: #991b1b;
}

.mm-quote-mini-item {
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.2s ease;
}

.mm-quote-mini-item a {
  color: #0a3622;
  text-decoration: none !important;
}

.mm-quote-mini-item:hover {
  background: #f9fafb;
}

.mm-quote-mini-item:last-child {
  border-bottom: none;
}

.mm-link {
  text-decoration: none !important;
  color: #667eea;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
}

.mm-link:hover {
  color: #764ba2;
  text-decoration: none;
}

.progress {
  background: #e5e7eb;
  border-radius: 10px;
}

.progress-bar {
  border-radius: 10px;
  transition: width 0.6s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mm-customer-dashboard {
    padding: 16px;
  }

  .mm-dashboard-header h3 {
    font-size: 22px;
  }

  .mm-nav-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mm-nav-pills .nav-link {
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 14px;
  }

  .mm-stat-card {
    margin-bottom: 16px;
    padding: 12px;
  }

  .mm-stat-icon {
    width: 45px;
    height: 45px;
  }

  .mm-stat-label{
    font-size: 10px;
  }
  .mm-stat-card h3.mb-0{
    font-size: 16px;
  }

  .mm-shipment-item {
    padding: 16px;
  }
}

@media (max-width: 576px) {
  .mm-nav-pills .nav-link i {
    margin-right: 0 !important;
  }

  .mm-nav-pills .nav-link {
    font-size: 13px;
  }

  .mm-nav-pills .nav-link i {
    font-size: 16px;
  }
}


/* Bookings Table */
.mm-bookings-table {
  font-size: 14px;
}

.mm-bookings-table thead {
  background: #f8f9fa;
  border-bottom: 2px solid #e5e7eb;
}

.mm-bookings-table thead th {
  font-weight: 600;
  color: #374151;
  padding: 16px 12px;
  text-transform: capitalize;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.mm-bookings-table tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.2s ease;
}

.mm-bookings-table tbody tr:hover {
  background: #f9fafb;
}

.mm-bookings-table tbody td {
  padding: 14px 12px;
  vertical-align: middle;
  color: #1f2937;
}

.mm-bookings-table .booking-id {
  font-weight: 600;
  color: #667eea;
}

.mm-booking-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mm-booking-status.returned {
  background: #e5e7eb;
  color: #374151;
}

.mm-booking-status.ongoing {
  background: #dbeafe;
  color: #1e40af;
}

.mm-booking-status.cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.mm-booking-status.paid {
  background: #d1fae5;
  color: #065f46;
}

.mm-booking-status.pending {
  background: #fef3c7;
  color: #92400e;
}

.mm-payment-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.mm-payment-badge.paid {
  background: #d1fae5;
  color: #065f46;
}

.mm-payment-badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.mm-driver-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.mm-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.mm-card-header h5 {
  margin: 0;
  font-weight: 600;
  color: #1f2937;
}

@media (max-width: 1024px) {
  .mm-bookings-table {
    font-size: 12px;
  }

  .mm-bookings-table thead th,
  .mm-bookings-table tbody td {
    padding: 12px 8px;
  }

  .mm-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.mm-driver-indicator {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  background: #fff;
}

.mm-driver-indicator.has-driver {
  border-color: #34d399;
  background: linear-gradient(135deg, #34d399, #10b981);
}

.mm-driver-indicator.no-driver {
  border-color: #d1d5db;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.address-title {
  font-size: 18px;
  white-space: nowrap;
  /* Prevent line break */
  overflow: hidden;
  /* Hide overflow */
  text-overflow: ellipsis;
  /* Show ... */
}

.job-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.job-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.job-card-header {
  padding: 24px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.job-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.job-card-icon i {
  font-size: 36px;
  color: #9ca3af;
}

.job-card-icon svg {
  width: 36px;
}

.job-card-content {
  flex: 1;
}

.job-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.job-card-meta {
  font-size: 14px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 8px;
}

.job-card-meta span:not(:last-child)::after {
  content: "•";
  margin-left: 8px;
  color: #d1d5db;
}

.job-card-action {
  flex-shrink: 0;
}

.manage-btn {
  background-color: #eef2ff;
  color: #4f46e5;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
}

.manage-btn:hover {
  background-color: #e0e7ff;
  color: #4f46e5;
  text-decoration: none;
}

.job-card-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
}

.job-detail {
  display: flex;
  flex-direction: column;
}

.job-detail-label {
  font-size: 12px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-weight: 500;
}

.job-detail-value {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

/* Responsive Design */
@media (max-width: 768px) {
  .job-card-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px;
  }

  .job-card-action {
    width: 100%;
  }

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

  .job-card-body {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .job-detail {
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
  }

  .job-detail:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

#motormova-quote-response .alert-heading {
  color: #0a3622 !important;
}


.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.px-3 {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}

.btn-transparent {
  background: transparent !important;
}

.btn-transparent svg {
  color: #212529 !important;
}

.btn-outline-danger {
  background-color: transparent !important;
  border: 1px solid #dc3545 !important;
  color: #dc3545 !important;
}

.btn-light {
  background: #f8f9fa !important;
  border-color: transparent !important;
  color: #212529 !important;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  /* For older browsers */
  appearance: none;
  /* Standard property */
  display: none;
  /* Ensures it is fully hidden */
}

/* For Internet Explorer/Edge legacy */
input[type=search]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

.nav.collapse .nav-link {
  font-size: 14px;
}

.btn-extra-sm {
  padding: 5px 10px !important;
  font-size: 13px !important;
}

/* Messages shortcode */
.mm-messages {
  --mm-msg-surface: #ffffff;
  --mm-msg-sidebar: #f8fafc;
  --mm-msg-border: #e5e7eb;
  --mm-msg-muted: #6b7280;
  --mm-msg-heading: #111827;
  --mm-msg-accent: #0f62fe;
  --mm-msg-accent-soft: #e8f0ff;
  --mm-msg-reply-bg: #f3f4f6;
  background: var(--mm-msg-surface);
  border: 1px solid var(--mm-msg-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(17, 24, 39, 0.08);
}

.mm-messages-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 280px;
  height: min(82vh, 860px);
  min-height: 640px;
  overflow: hidden;
}

.mm-messages-sidebar {
  background: var(--mm-msg-sidebar);
  border-right: 1px solid var(--mm-msg-border);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.mm-messages-sidebar-header,
.mm-messages-chat-header {
  padding: 16px;
  border-bottom: 1px solid var(--mm-msg-border);
}

.mm-messages-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: var(--mm-msg-heading);
  font-weight: 700;
}

.mm-messages-subtitle {
  margin: 4px 0 0;
  color: var(--mm-msg-muted);
  font-size: 13px;
}

.mm-messages-search {
  padding: 12px 16px;
  border-bottom: 1px solid var(--mm-msg-border);
}

.mm-messages-search input {
  width: 100%;
  border: 1px solid var(--mm-msg-border);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
}

.mm-messages-conversation-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.mm-messages-conversation-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--mm-msg-border);
  cursor: default;
}

.mm-messages-conversation-item.is-active {
  background: var(--mm-msg-accent-soft);
}

.mm-messages-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
  background: #374151;
  flex: 0 0 auto;
}

.mm-messages-avatar.is-accent {
  background: var(--mm-msg-accent);
}

.mm-messages-conversation-meta {
  min-width: 0;
  width: 100%;
}

.mm-messages-conversation-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.mm-messages-conversation-name {
  margin: 0;
  font-size: 14px;
  color: var(--mm-msg-heading);
  font-weight: 600;
}

.mm-messages-conversation-time {
  font-size: 12px;
  color: var(--mm-msg-muted);
}

.mm-messages-preview {
  margin: 0;
  font-size: 13px;
  color: var(--mm-msg-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mm-messages-chat {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 0;
}

.mm-messages-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mm-messages-chat-name {
  margin: 0;
  font-size: 16px;
  color: var(--mm-msg-heading);
}

.mm-messages-chat-status {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--mm-msg-muted);
}

.mm-messages-chat-body {
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  min-height: 0;
  overflow-y: auto;
}

.mm-messages-date-separator {
  margin: 10px auto 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.mm-messages-bubble {
  max-width: 78%;
  padding: 10px 13px;
  margin-bottom: 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
}

.mm-messages-bubble p {
  margin: 0;
}

.mm-messages-bubble-time {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.8;
}

.mm-messages-bubble.incoming {
  background: var(--mm-msg-reply-bg);
  color: #111827;
  border-top-left-radius: 4px;
}

.mm-messages-bubble.outgoing {
  margin-left: auto;
  background: var(--mm-msg-accent);
  color: #fff;
  border-top-right-radius: 4px;
}

.mm-messages-composer {
  border-top: 1px solid var(--mm-msg-border);
  padding: 12px 16px;
  background: #fff;
}

.mm-messages-composer form {
  display: flex;
  gap: 10px;
}

.mm-messages-composer input {
  flex: 1;
  border: 1px solid var(--mm-msg-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}

.mm-messages-composer button {
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  background: var(--mm-msg-accent);
  color: #fff;
  font-weight: 600;
}

.mm-messages-job-sidebar {
  background: #fff;
  border-left: 1px solid var(--mm-msg-border);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.mm-messages-job-header {
  padding: 16px;
  border-bottom: 1px solid var(--mm-msg-border);
}

.mm-messages-job-title {
  margin: 0;
  font-size: 18px;
  color: var(--mm-msg-heading);
}

.mm-messages-job-subtitle {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--mm-msg-muted);
}

.mm-messages-job-section {
  padding: 14px 16px;
  border-bottom: 1px solid var(--mm-msg-border);
}

.mm-messages-job-section-title {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--mm-msg-muted);
}

.mm-messages-job-card {
  display: block;
  border: 1px solid var(--mm-msg-border);
  border-radius: 12px;
  padding: 10px 11px;
  background: #fff;
}

.mm-messages-job-card+.mm-messages-job-card {
  margin-top: 10px;
}

.mm-messages-job-card.is-current {
  background: #f8fafc;
}

.mm-messages-job-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 8px;
  color: #1f2937;
  background: #e5e7eb;
}

.mm-messages-job-badge.is-live {
  background: #d1fae5;
  color: #065f46;
}

.mm-messages-job-badge.mm-quote-status.pending {
  background: #fef3c7;
  color: #92400e;
}

.mm-messages-job-badge.mm-quote-status.rejected,
.mm-messages-job-badge.mm-quote-status.declined,
.mm-messages-job-badge.mm-quote-status.cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.mm-messages-job-badge.mm-quote-status {
  background: #e5e7eb;
  color: #1f2937;
}

.mm-messages-job-name {
  margin: 8px 0 4px;
  font-size: 14px;
  color: var(--mm-msg-heading);
}

.mm-messages-job-route,
.mm-messages-job-date {
  margin: 0;
  font-size: 12px;
  color: var(--mm-msg-muted);
}

.mm-messages-quote-price {
  margin-top: 4px;
  font-weight: 600;
  color: var(--mm-msg-heading);
}

.mm-messages-job-meta {
  margin: 8px 0 0;
  padding-left: 16px;
  color: var(--mm-msg-muted);
  font-size: 12px;
}

.mm-messages-job-meta li+li {
  margin-top: 3px;
}

@media (max-width: 1199px) {
  .mm-messages-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    height: min(82vh, 860px);
  }

  .mm-messages-job-sidebar {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--mm-msg-border);
  }
}

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

  .mm-messages-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--mm-msg-border);
    min-height: 0;
  }

  .mm-messages-conversation-list {
    max-height: 280px;
  }

  .mm-messages-chat {
    min-height: 420px;
  }

  .mm-messages-chat-body {
    max-height: 420px;
  }

  .mm-messages-job-sidebar {
    border-top: 1px solid var(--mm-msg-border);
  }

  .mm-messages {
    border-radius: 12px;
  }
}

.mm-vehicle-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mm-vehicle-photos-grid-item {
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.mm-vehicle-photo-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Messages menu notification dot */
.mm-menu-notification-dot {
  display: none;
  width: 10px;
  height: 10px;
  background: #dc3545;
  border-radius: 50%;
  margin-left: 8px;
  vertical-align: middle;
}

.select2.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--multiple {
  font-size: 15px;
  border-radius: 8px;
  padding: 12px 7px;
  border: 1px solid #ddd !important;
  padding-top: 6px;
  padding-bottom: 10px !important;
}

.mm-transporter-verify-notice {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  margin: 0 0 24px;
  padding: 28px 32px;
  border: 1px solid #fde4b2;
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 0 0 1px rgba(253, 228, 178, 0.35), 0 10px 28px rgba(15, 23, 42, 0.04);
}

.mm-transporter-verify-notice__media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff1cd;
  color: #f2a900;
  font-size: 34px;
}

.mm-transporter-verify-notice__content {
  flex: 1 1 auto;
  min-width: 0;
}

.mm-transporter-verify-notice__content h2 {
  margin: 0 0 8px;
  color: #1f2937;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.mm-transporter-verify-notice__content p {
  max-width: 820px;
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.55;
}

.mm-transporter-verify-notice__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 230px;
  min-height: 58px;
  padding: 14px 24px;
  border-radius: 8px;
  background: #047967;
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 18px rgba(4, 121, 103, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mm-transporter-verify-notice__action:hover,
.mm-transporter-verify-notice__action:focus {
  background: #036454;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 22px rgba(4, 121, 103, 0.24);
}

.mm-transporter-verify-notice__action:focus-visible {
  outline: 3px solid rgba(4, 121, 103, 0.28);
  outline-offset: 3px;
}

.mm-transporter-verify-notice__action .bi {
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 991.98px) {
  .mm-transporter-verify-notice {
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
  }

  .mm-transporter-verify-notice__media {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .mm-transporter-verify-notice__content h2 {
    font-size: 20px;
  }

  .mm-transporter-verify-notice__content p {
    font-size: 15px;
  }

  .mm-transporter-verify-notice__action {
    min-width: 190px;
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .mm-transporter-verify-notice {
    flex-wrap: wrap;
    padding: 20px;
  }

  .mm-transporter-verify-notice__content {
    flex-basis: calc(100% - 78px);
  }

  .mm-transporter-verify-notice__action {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .mm-transporter-verify-notice {
    display: block;
  }

  .mm-transporter-verify-notice__media {
    margin-bottom: 14px;
  }

  .mm-transporter-verify-notice__action {
    margin-top: 18px;
  }
}

.mm-verification-flow {
  max-width: 1180px;
  margin: 0 auto;
  color: #1f2937;
}

.mm-verification-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.035);
}

.mm-verification-step--active {
  align-items: stretch;
  padding: 32px 28px;
}

.mm-verification-step--locked {
  min-height: 96px;
  padding: 20px 28px;
  color: #6b7280;
}

.mm-verification-step+.mm-verification-step {
  margin-top: 12px;
}

.mm-verification-step__main {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}

.mm-verification-step--locked .mm-verification-step__main {
  align-items: center;
}

.mm-verification-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #f1f3f5;
  color: #818896;
  font-size: 28px;
}

.mm-verification-step__icon--active {
  width: 88px;
  height: 88px;
  background: #dff6e9;
  color: #07935f;
  font-size: 42px;
}

.mm-verification-step__content {
  min-width: 0;
}

.mm-verification-step__content h1,
.mm-verification-step__content h2 {
  margin: 0;
  color: #1f2937;
  font-weight: 700;
  line-height: 1.25;
}

.mm-verification-step__content h1 {
  font-size: 24px;
}

.mm-verification-step__content h2 {
  font-size: 18px;
}

.mm-verification-step__lead,
.mm-verification-step__content>p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.5;
}

.mm-verification-requirements {
  display: flex;
  align-items: stretch;
  gap: 28px;
  margin-top: 28px;
}

.mm-verification-requirement {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 190px;
}

.mm-verification-requirement+.mm-verification-requirement {
  padding-left: 28px;
  border-left: 1px solid #d8dde5;
}

.mm-verification-requirement>.bi {
  margin-top: 2px;
  color: #7c8594;
  font-size: 24px;
}

.mm-verification-requirement strong {
  display: block;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.3;
}

.mm-verification-requirement span {
  display: block;
  margin-top: 3px;
  color: #475569;
  font-size: 14px;
  line-height: 1.35;
}

.mm-verification-why {
  display: flex;
  gap: 16px;
  max-width: 620px;
  margin-top: 36px;
  padding: 18px 20px;
  border: 1px solid #b8ebd1;
  border-radius: 8px;
  background: #effbf4;
}

.mm-verification-why>.bi {
  color: #07935f;
  font-size: 26px;
  line-height: 1.1;
}

.mm-verification-why strong {
  display: block;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.35;
}

.mm-verification-why p {
  margin: 4px 0 0;
  color: #3f4b5f;
  font-size: 14px;
  line-height: 1.45;
}

.mm-verification-provider {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 320px;
  min-height: 282px;
  padding: 28px 28px 26px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.mm-verification-provider__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #6b7280;
  font-size: 15px;
}

.mm-verification-provider__brand strong {
  color: #111827;
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0;
}

.mm-verification-provider__mark {
  width: 17px;
  height: 22px;
  background: #111827;
  clip-path: polygon(0 20%, 48% 0, 48% 44%, 100% 20%, 100% 78%, 48% 100%, 48% 58%, 0 82%);
}

.mm-verification-provider__list {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.mm-verification-provider__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: 14px;
}

.mm-verification-provider__list .bi {
  color: #10a66d;
  font-size: 18px;
}

.mm-verification-provider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 8px;
  background: #047967;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(4, 121, 103, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mm-verification-provider__button:hover,
.mm-verification-provider__button:focus {
  background: #036454;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(4, 121, 103, 0.24);
}

.mm-verification-provider__button:focus-visible {
  outline: 3px solid rgba(4, 121, 103, 0.28);
  outline-offset: 3px;
}

.mm-verification-step__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #eef0f3;
  color: #7b8390;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1199.98px) {
  .mm-verification-step--active {
    flex-direction: column;
  }

  .mm-verification-provider {
    width: 100%;
    flex-basis: auto;
    min-height: 0;
  }
}

@media (max-width: 767.98px) {

  .mm-verification-step--active,
  .mm-verification-step--locked {
    padding: 20px;
  }

  .mm-verification-step,
  .mm-verification-step__main,
  .mm-verification-requirements {
    gap: 16px;
  }

  .mm-verification-step__icon--active {
    width: 68px;
    height: 68px;
    font-size: 34px;
  }

  .mm-verification-step__icon {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }

  .mm-verification-step__content h1 {
    font-size: 21px;
  }

  .mm-verification-requirements {
    flex-direction: column;
  }

  .mm-verification-requirement+.mm-verification-requirement {
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1px solid #d8dde5;
  }

  .mm-verification-why {
    margin-top: 24px;
  }
}

@media (max-width: 575.98px) {
  .mm-verification-step--locked {
    align-items: flex-start;
  }

  .mm-verification-step--locked .mm-verification-step__main {
    align-items: flex-start;
  }

  .mm-verification-step--locked {
    flex-direction: column;
  }

  .mm-verification-step__status {
    align-self: flex-start;
  }

  .mm-verification-provider {
    padding: 22px;
  }
}

.mm-verification-flow .mm-verification-step {
  display: block;
}

.mm-verification-flow .mm-verification-step--active,
.mm-verification-flow .mm-verification-step--locked {
  padding: 0;
}

.mm-verification-flow .mm-verification-step--locked {
  min-height: 0;
}

.mm-verification-flow .mm-verification-step--unlocked .mm-verification-step__icon {
  background: #dff6e9;
  color: #07935f;
}

.mm-verification-flow .mm-verification-provider {
  width: 320px;
  min-height: 100%;
  padding: 0;
  flex: none;
}

.mm-verification-flow .mm-verification-provider__name {
  color: #111827;
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0;
}

.mm-verification-flow .mm-verification-requirement-divider {
  padding-left: 32px;
  border-left: 1px solid #d8dde5;
}

@media (max-width: 1199.98px) {
  .mm-verification-flow .mm-verification-provider {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .mm-verification-flow .mm-verification-requirement-divider {
    padding-left: 0;
    border-left: 0;
  }
}

.mm-upload-box {
  border: 1px solid #dbe3ea;
  border-radius: 18px;
  background: #f8fafc;
  padding: 26px;
  height: 100%;
}

.mm-upload-list {
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}

.mm-info-note {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 14px 16px;
  color: #4b5563;
  font-size: 14px;
  margin-bottom: 18px;
}

.mm-upload-list i {
  color: #0f9f64;
  margin-right: 8px;
}

.mm-upload-list li {
  margin-bottom: 10px;
}

.mm-verification-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 28px;
}

.mm-upload-icon {
  color: #0f9f64;
  font-size: 30px;
  margin-right: 14px;
}

.mm-next-step-box {
  margin-top: 28px;
  background: linear-gradient(90deg, #f0fff7, #f8fffb);
  border: 1px solid #b7efcf;
  border-radius: 18px;
  padding: 24px;
}

.mm-next-step-box h5 {
  font-weight: 800;
  color: #1f2937;
}

.mm-next-step-box p {
  color: #4b5563;
  margin: 0;
}

.mm-submit-btn {
  background: #7bc987;
  border: none;
  border-radius: 12px;
  padding: 14px 42px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}


.mm-upload-box.approved {
  border-color: #bbf7d0;
  background: #f7fff9;
}

.mm-upload-box.pending {
  border-color: #fef3c7;
  background: #fffbeb;
}

.mm-upload-box.rejected {
  border-color: #fee2e2;
  background: #fffbeb;
}

.mm-doc-status {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  position: absolute;
  white-space: nowrap;
  right: 0;
}

.mm-doc-status.approved {
  background: #dcfce7;
  color: #15803d;
}

.mm-doc-status.pending {
  background: #fef3c7;
  color: #92400e;
}

.mm-doc-status.rejected {
  background: #fee2e2;
  color: #991b1b;
}
