body {
  justify-content: flex-start;
}

.status-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: flex-end;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.status-form .form-group {
  flex-grow: 1;
  margin-bottom: 0;
}

.status-form .btn {
  margin-top: 0;
  padding: 0.9rem 2rem;
  width: auto;
}

#status-results-container {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 3rem;
}

.booking-details-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 2rem 2.5rem;
}

.booking-details-card .section-title {
  margin-top: 0;
  text-align: left;
  font-size: 2rem;
}

.booking-details-card .section-title.error {
  color: #ff6b6b;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.4);
}

.booking-details-card .main-subtitle {
  text-align: left;
  margin-bottom: 0;
  font-size: 1.1rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.detail-item {
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #ffcc00;
}

.detail-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffcc00;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 1.1rem;
  font-weight: 400;
  color: #e0e0e0;
}

.detail-value.status-confirmed {
  font-weight: 700;
  color: #4dff91;
}

.detail-value.status-pending {
  font-weight: 700;
  color: #ff9900;
}

.detail-value.status-failed {
  font-weight: 700;
  color: #ff4d4d;
}

.invoice-action {
  display: inline-block;
  margin-top: 1rem;
}

.invoice-action .btn-small {
  background: #ffcc00;
  color: #000;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.invoice-action .btn-small:hover {
  background: #ffd633;
}

.status-footer {
  text-align: left;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status-footer strong {
  font-size: 1.3rem;
  color: #ffcc00;
  margin-left: 10px;
}

.status-footer a {
  color: #ffcc00;
  font-weight: 600;
  text-decoration: none;
}

.status-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .status-form {
    grid-template-columns: 1fr;
  }
  .status-form .btn {
    width: 100%;
    margin-top: 1rem;
  }

  .booking-details-card {
    padding: 1.5rem;
  }

  .booking-details-card .section-title {
    font-size: 1.8rem;
  }
}
