/* Silk Route Logistics — Shared Utility Classes
   Extracted from common inline style patterns across all pages */

/* Display */
.d-none { display: none }
.d-block { display: block }
.d-flex { display: flex }
.d-inline-flex { display: inline-flex }
.d-grid { display: grid }

/* Flexbox */
.flex-1 { flex: 1 }
.flex-wrap { flex-wrap: wrap }
.flex-col { flex-direction: column }
.align-center { align-items: center }
.align-start { align-items: flex-start }
.justify-center { justify-content: center }
.justify-between { justify-content: space-between }
.justify-end { justify-content: flex-end }

/* Gap */
.gap-4 { gap: 4px }
.gap-6 { gap: 6px }
.gap-8 { gap: 8px }
.gap-10 { gap: 10px }
.gap-12 { gap: 12px }
.gap-16 { gap: 16px }
.gap-20 { gap: 20px }
.gap-24 { gap: 24px }

/* Text Alignment */
.text-center { text-align: center }
.text-right { text-align: right }
.text-left { text-align: left }
.text-uppercase { text-transform: uppercase }

/* Font Weight */
.fw-500 { font-weight: 500 }
.fw-600 { font-weight: 600 }
.fw-700 { font-weight: 700 }

/* Font Size */
.fs-11 { font-size: 11px }
.fs-12 { font-size: 12px }
.fs-13 { font-size: 13px }
.fs-14 { font-size: 14px }

/* Margin Bottom */
.mb-4 { margin-bottom: 4px }
.mb-8 { margin-bottom: 8px }
.mb-12 { margin-bottom: 12px }
.mb-16 { margin-bottom: 16px }
.mb-20 { margin-bottom: 20px }
.mb-24 { margin-bottom: 24px }

/* Margin Top */
.mt-4 { margin-top: 4px }
.mt-8 { margin-top: 8px }
.mt-12 { margin-top: 12px }
.mt-16 { margin-top: 16px }
.mt-20 { margin-top: 20px }
.mt-24 { margin-top: 24px }

/* Padding */
.p-8 { padding: 8px }
.p-12 { padding: 12px }
.p-16 { padding: 16px }
.p-24 { padding: 24px }
.px-16 { padding-left: 16px; padding-right: 16px }
.py-24 { padding-top: 24px; padding-bottom: 24px }

/* Width */
.w-100 { width: 100% }

/* Colors (using CSS vars from themes.css) */
.text-red { color: var(--red) }
.text-green { color: var(--green) }
.text-gold { color: var(--gold) }
.text-muted { color: var(--gray-400) }
.text-navy { color: var(--navy) }
.text-slate { color: var(--slate) }

/* Composite Utilities — Extracted from high-frequency inline patterns */

/* Section label: "font-size:10px;color:var(--gray-400);text-transform:uppercase;letter-spacing:1px;padding:0 16px 8px" */
.section-label {
  font-size: 10px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 16px 8px;
}

/* Divider: "border-top:1px solid var(--gray-200);margin:12px 0;padding-top:12px" */
.divider-top {
  border-top: 1px solid var(--gray-200);
  margin: 12px 0;
  padding-top: 12px;
}

/* ── Login Dropdown (shared across all pages) ── */
.login-dropdown {
  position: relative;
  margin-left: 12px;
}
.login-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: #C8963E;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.login-dropdown-btn:hover { background: #B8862E; transform: translateY(-1px); }
.login-dropdown-btn svg { width: 14px; height: 14px; }
.login-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #0F1E30;
  border: 1px solid rgba(200,150,62,0.2);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  z-index: 200;
}
.login-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: #E0E7EE;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}
.login-dropdown-menu a:hover { background: rgba(200,150,62,0.12); color: #C8963E; }
.login-dropdown.open .login-dropdown-menu { display: block; }

/* ── Mobile Login Section (shared across all pages) ── */
.mobile-login-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-login-label,
.mobile-login-section .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #C8963E;
  margin-bottom: 8px;
  font-weight: 600;
}
.mobile-login-section a {
  display: block;
  padding: 10px 0;
  color: #E0E7EE;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.mobile-login-section a:hover { color: #C8963E; }

/* ── Footer (shared across all pages) ── */
.footer {
  padding: 60px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}
.footer-logo-bar {
  width: 40px;
  height: 4px;
  background: #C8963E;
  border-radius: 2px;
  margin-bottom: 16px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #C8963E;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
  color: #94a3b8;
  font-size: 14px;
}
.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #C8963E; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: #64748b;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: #C8963E; }
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Empty state: "text-align:center;color:var(--theme-text-muted);padding:24px" */
.empty-state {
  text-align: center;
  color: var(--theme-text-muted);
  padding: 24px;
}

/* Empty state large: "text-align:center;padding:40px;color:var(--gray-400)" */
.empty-state-lg {
  text-align: center;
  padding: 40px;
  color: var(--gray-400);
}
