.mot-wrapper {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  font-family: system-ui;
}

.mot-header {
  text-align: center;
  margin-bottom: 40px;
}

.mot-header h1 {
  font-size: 52px;
  margin-bottom: 10px;
}

.mot-form {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  margin-bottom: 30px;
}

.mot-field {
  flex: 1;
}

.mot-field label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.mot-field input {
  width: 100%;
  height: 56px;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 0 20px;
}

.mot-form button {
  height: 56px;
  border: none;
  padding: 0 35px;
  border-radius: 14px;
  background: #001f2d;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  margin-top: 34px;
}

.mot-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.mot-status-card,
.mot-summary-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  animation: motCard 0.5s ease;
}

.mot-status-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.mot-progress {
  display: flex;
  align-items: flex-start;
}

.mot-line {
  flex: 1;
  height: 4px;
  background: #e5e5e5;
  margin-top: 28px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.mot-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: #001f2d;
  transition: 1s ease;
}

.mot-line.active-yes::after {
  width: 100%;
}

.mot-step {
  width: 150px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: motFade 0.6s forwards;
}

.mot-step:nth-child(1) {
  animation-delay: 0.1s;
}

.mot-step:nth-child(3) {
  animation-delay: 0.3s;
}

.mot-step:nth-child(5) {
  animation-delay: 0.5s;
}

.mot-step:nth-child(7) {
  animation-delay: 0.7s;
}

.circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-bottom: 14px;
  background: #dfe5e8;
  color: #7b8a93;
  transition: 0.3s;
}

.level-1 .circle {
  background: #315160;
  color: #fff;
}

.level-2 .circle {
  background: #1f3d4b;
  color: #fff;
}

.level-3 .circle {
  background: #102c39;
  color: #fff;
}

.level-4 .circle {
  background: #00131c;
  color: #fff;
}

.mot-step h4 {
  margin-bottom: 6px;
  font-size: 16px;
}

.mot-step p {
  font-size: 14px;
  color: #666;
}

.mot-product {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.mot-product img {
  border-radius: 12px;
}

.mot-product-image {
  min-width: 80px;
}

.mot-product-image {
    flex-basis: 61px;
}

.mot-product-info {
  flex: 1;
}
.mot-content h2{
    font-size: var(--text-l);
}

.mot-summary-card h2 {
    margin-bottom: var(--space-m);
}

.mot-product-info h4 {
  margin-bottom: 8px;
  font-size: var(--text-s);
}

.mot-product-info p {
    font-size: var(--text-s);
    text-transform: capitalize;
    margin-bottom: 0;
    color: #666;
}

.mot-price {
  font-weight: 700;
  text-align: right;
  min-width: 80px;
}

.mot-order-totals {
  margin-top: 30px;
  padding-top: 20px;
  /*border-top: 2px solid #eee; */
}

.mot-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.mot-total-row span:first-child {
  color: #666;
}

.mot-total-row span:last-child {
  font-weight: 600;
}

.mot-grand-total {
  margin-top: var(--space-m);
  padding-top: var(--space-m);
  border-top: 2px solid #001f2d;
  font-size: 16px;
  font-weight: 700;
  color: #001f2d;
}

.mot-view-details-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: #001f2d;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.mot-view-details-btn:hover {
  background: #0a3a4a;
}

.mot-error {
  background: #ffe5e5;
  padding: 20px;
  border-radius: 14px;
}

@keyframes motFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes motCard {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .mot-form {
    flex-direction: column;
  }

  .mot-content {
    grid-template-columns: 1fr;
  }

  .mot-progress {
    flex-wrap: wrap;
    gap: 20px;
  }

  .mot-line {
    display: none;
  }

  .mot-step {
    width: 45%;
  }
}
