/* Import Google Fonts (optional if your environment handles fonts elsewhere) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

/* GLOBAL RESET */
*, *::before, *::after {
  box-sizing: border-box;
}

/* BODY — Open Sans */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  background-color: #f5f5f5;
  color: #222;
}

/* WRAPPER */
.page-wrap {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
}

/* CARD */
.card {
  width: 100%;
  max-width: 480px;
  background-color: #ffffff;
  border-radius: 4px;
  padding: 24px 24px 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card--wide {
  max-width: 720px;
}

/* HEADERS — Montserrat */
.card-title,
.card-subtitle,
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif !important;
  margin-bottom:5px;
}

.card-title{
    margin-bottom:20px;
}

/* SUBTITLE */
.card-subtitle {
  font-size: 14px;
  color: #666;
  margin-top:5px;
margin-bottom:15px;
}

/* LABELS — Montserrat */
.label,
.summary-label,
.tracking-label {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 600;
}

/* INPUTS — Open Sans */
.input,
.select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 3px;
  border: 1px solid #d0d4da;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus,
.select:focus {
  border-color: #222;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.helper-text {
  font-size: 12px;
  color: #777;
}

/* BUTTONS — Open Sans for text */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  background-color: #3c3c3c;
  color: #fff;
  letter-spacing: 0.04em;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  background-color: #111;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.button--secondary {
  background-color: #ffffff;
  color: #222222;
  border: 1px solid #ccd1d8;
  text-transform: none;
}

.button--secondary:hover {
  background-color: #f3f5f7;
}

/* GRID & SUMMARY */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 32px;
  font-size: 14px;
  margin-bottom: 10px;
}

.summary-value {
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
}

.address-block {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* BADGE */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background-color: #ededed;
  color: #222;
  font-family: "Open Sans", sans-serif;
  margin-bottom: 20px;
}

/* TRACKING */
.tracking-number {
  font-family: "Courier New", monospace;
}

/* TABLE — Open Sans */
.items-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
}

.items-table th,
.items-table td {
  padding: 8px 6px;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
}

.items-table th {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #777;
  font-family: "Montserrat", sans-serif !important;
}

.notice {
  font-size: 13px;
  color: #777;
}

.actions-row{
    margin-top:20px
}

.form-group{
    margin-bottom:10px;
}


/* RESPONSIVE */
@media (max-width: 480px) {
  .page-wrap {
    padding: 20px 12px;
  }

  .card {
    padding: 20px 18px 24px;
  }

  .card-title {
    font-size: 20px;
  }
}
