/* CSS Variables - Oscars Theme */
:root {
  --gold: #d4af37;
  --gold-light: #f4d160;
  --gold-dark: #b8962f;
  --gold-gradient: linear-gradient(135deg, #f4d160 0%, #d4af37 50%, #b8962f 100%);
  --black: #0a0a0a;
  --black-light: #1a1a1a;
  --black-medium: #2a2a2a;
  --charcoal: #333333;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --cream: #faf8f5;
  --gray-light: #e8e8e8;
  --gray: #888888;
  --gray-dark: #444444;
  --success: #4caf50;
  --warning: #ff9800;
  --danger: #f44336;
  --info: #2196f3;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 50px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 30px rgba(212, 175, 55, 0.3);
  --transition: all 0.3s ease;
  --border-radius: 4px;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
  letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.main-header {
  background: var(--black);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gold-dark);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-image {
  height: 45px;
  width: auto;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-link:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.btn-primary {
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
}

.nav-link.btn-primary:hover {
  background: var(--gold-light);
  color: var(--black);
  box-shadow: var(--shadow-gold);
}

.user-greeting {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  padding-right: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  margin-right: 10px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* Main Content */
.main-content {
  flex: 1;
}

/* Footer */
.main-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.6);
  padding: 50px 0 25px;
  margin-top: auto;
  border-top: 1px solid var(--gold-dark);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: var(--black-light);
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-success {
  background: var(--success);
  color: var(--white);
}

.btn-success:hover {
  background: #43a047;
  color: var(--white);
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
}

.btn-danger:hover {
  background: #e53935;
  color: var(--white);
}

.btn-large {
  padding: 18px 40px;
  font-size: 0.95rem;
}

.btn-small {
  padding: 10px 18px;
  font-size: 0.75rem;
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero {
  background: var(--black);
  background-image: url('/images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

/* Dark overlay for text readability */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
}

.hero .container {
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-dark);
  border-radius: 30px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 10px;
  font-weight: 400;
}

.hero h1 span {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 500px;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Decorative divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 60px 0;
}

.divider::before,
.divider::after {
  content: '';
  height: 1px;
  width: 100px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.divider-icon {
  color: var(--gold);
  font-size: 1.5rem;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--gold);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 50px 35px;
  background: var(--cream);
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
}

.feature-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--gold);
}

.feature-card h3 {
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Feeds Overview */
.feeds-overview {
  padding: 100px 0;
  background: var(--black);
  position: relative;
}

.feeds-overview .section-title {
  color: var(--white);
}

.feeds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.feed-category {
  background: var(--black-light);
  padding: 35px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition);
}

.feed-category:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
}

.feed-category h3 {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.feed-category ul {
  list-style: none;
}

.feed-category li {
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feed-category li::before {
  content: '★';
  color: var(--gold);
  font-size: 0.6rem;
}

.feed-category li:last-child {
  border-bottom: none;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta h2 {
  color: var(--white);
  margin-bottom: 15px;
  font-weight: 400;
}

.cta h2 span {
  color: var(--gold);
}

.cta p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 35px;
  font-size: 1.1rem;
}

/* Auth Section */
.auth-section {
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  background: var(--cream);
}

.auth-card {
  background: var(--white);
  padding: 60px 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 480px;
  width: 100%;
  border-top: 3px solid var(--gold);
}

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

.auth-header h1 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.auth-header p {
  color: var(--gray);
  font-size: 0.95rem;
}

.auth-form .form-group {
  margin-bottom: 25px;
}

.auth-info {
  margin-top: 35px;
  padding: 25px;
  background: var(--cream);
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid var(--gray-light);
}

.auth-info p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 5px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  gap: 20px;
}

.form-row.two-col {
  grid-template-columns: 1fr 1fr;
}

.form-row.three-col {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-row.four-col {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* Alerts */
.alert {
  padding: 18px 25px;
  border-radius: var(--border-radius);
  margin-bottom: 25px;
  font-size: 0.95rem;
  border-left: 4px solid;
}

.alert-error {
  background: #ffebee;
  color: #c62828;
  border-left-color: #c62828;
}

.alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  border-left-color: #2e7d32;
}

/* Page Header */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 15px;
}

.page-header-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gray);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.back-link svg {
  width: 18px;
  height: 18px;
}

.back-link:hover {
  color: var(--gold-dark);
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  border: 1px solid var(--gray-light);
}

.card-header {
  padding: 25px 30px;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
}

.card-header h2 {
  font-size: 1rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
}

.card-body {
  padding: 30px;
}

/* Orders List */
.orders-section {
  padding: 50px 0;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.order-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

.order-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: var(--black);
  border-bottom: 1px solid var(--gold-dark);
}

.order-number {
  display: flex;
  flex-direction: column;
}

.order-number .label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.order-number .value {
  font-weight: 600;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.order-card-body {
  padding: 25px 30px;
}

.order-card-body h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.order-meta {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray);
}

.meta-item svg {
  width: 16px;
  height: 16px;
}

.order-card-actions {
  padding: 20px 30px;
  background: var(--cream);
  border-top: 1px solid var(--gray-light);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-badge.large {
  padding: 10px 24px;
  font-size: 0.8rem;
}

.status-draft {
  background: var(--gray-light);
  color: var(--gray);
}

.status-submitted {
  background: #fff8e1;
  color: #f57c00;
  border: 1px solid #ffe082;
}

.status-confirmed {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.status-completed {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #90caf9;
}

.status-cancelled {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 30px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
}

.empty-icon {
  width: 80px;
  height: 80px;
  stroke: var(--gray);
  margin-bottom: 25px;
}

.empty-state h2 {
  margin-bottom: 15px;
}

.empty-state p {
  color: var(--gray);
  margin-bottom: 30px;
}

.no-items {
  text-align: center;
  padding: 40px;
  color: var(--gray);
  font-style: italic;
}

/* Order View */
.order-view-section {
  padding: 50px 0;
}

.order-view-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 35px;
}

.order-main {
  min-width: 0;
}

.order-sidebar {
  min-width: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
}

.info-item label {
  display: block;
  font-size: 0.7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.info-item p {
  font-weight: 600;
  color: var(--black);
  font-size: 1.05rem;
}

/* Feeds Table */
.feeds-table-wrapper {
  overflow-x: auto;
}

.feeds-table {
  width: 100%;
  border-collapse: collapse;
}

.feeds-table th,
.feeds-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

.feeds-table th {
  background: var(--black);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.feeds-table td {
  font-size: 0.9rem;
}

.feeds-table tr:hover td {
  background: var(--cream);
}

.feed-type-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--black);
  color: var(--gold);
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.item-notes {
  color: var(--gray);
  font-style: italic;
  font-size: 0.85rem;
}

/* Contacts Grid */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.contact-card {
  padding: 25px;
  background: var(--cream);
  border-radius: var(--border-radius);
  border-left: 3px solid var(--gold);
}

.contact-type {
  font-size: 0.7rem;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-name {
  font-weight: 700;
  color: var(--black);
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.contact-role {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 12px;
}

.contact-email,
.contact-phone {
  font-size: 0.85rem;
  color: var(--gray-dark);
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inline-form {
  display: contents;
}

/* Order Details List */
.order-details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-light);
}

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

.detail-item label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-item span {
  font-weight: 600;
  color: var(--black);
}

/* Order Form */
.order-form-section {
  padding: 50px 0;
}

.order-form {
  max-width: 900px;
}

.feed-item,
.contact-item,
.circuit-item,
.vehicle-item {
  background: var(--cream);
  padding: 25px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  border: 1px solid var(--gray-light);
}

.feed-item-header,
.contact-item-header,
.circuit-item-header,
.vehicle-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray-light);
}

.feed-item-header h4,
.contact-item-header h4,
.circuit-item-header h4,
.vehicle-item-header h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
}

/* Checkbox groups for locations */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}

/* Circuit Grid Layout - PDF Style */
.circuit-grid-item {
  background: var(--white);
  border: 2px solid var(--gray-light);
}

.circuit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.circuit-grid-section {
  flex: 1;
  min-width: 150px;
}

.circuit-grid-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}

/* Radio Pill Groups */
.radio-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-pill {
  display: inline-block;
  cursor: pointer;
}

.radio-pill input[type="radio"] {
  display: none;
}

.radio-pill span {
  display: inline-block;
  padding: 8px 16px;
  background: var(--cream);
  border: 2px solid var(--gray-light);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: all 0.2s ease;
}

.radio-pill:hover span {
  border-color: var(--gold);
  background: #fff8e1;
}

.radio-pill input[type="radio"]:checked + span {
  background: var(--black);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 700;
}

/* Checkbox Pill Groups (for multi-select like locations) */
.checkbox-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkbox-pill {
  display: inline-block;
  cursor: pointer;
}

.checkbox-pill input[type="checkbox"] {
  display: none;
}

.checkbox-pill span {
  display: inline-block;
  padding: 8px 16px;
  background: var(--cream);
  border: 2px solid var(--gray-light);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: all 0.2s ease;
}

.checkbox-pill:hover span {
  border-color: var(--gold);
  background: #fff8e1;
}

.checkbox-pill input[type="checkbox"]:checked + span {
  background: var(--black);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 700;
}

/* Form notes */
.form-note {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--border-radius);
  padding: 15px 20px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  color: #f57c00;
}

/* Vehicle view in order details */
.vehicle-view-item {
  background: var(--cream);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  border-left: 3px solid var(--gold);
}

.vehicle-view-item:last-child {
  margin-bottom: 0;
}

.vehicle-view-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 15px;
}

.btn-remove {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 8px 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.btn-remove:hover {
  text-decoration: underline;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-light);
}

/* Admin Styles */
.admin-section {
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 3px solid var(--black);
}

.stat-card.stat-draft { border-top-color: var(--gray); }
.stat-card.stat-submitted { border-top-color: var(--warning); }
.stat-card.stat-confirmed { border-top-color: var(--success); }
.stat-card.stat-completed { border-top-color: var(--info); }

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--black);
  font-family: 'Playfair Display', Georgia, serif;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 5px;
}

/* Data Table */
.table-wrapper {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

.data-table th {
  background: var(--black);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.data-table td {
  font-size: 0.9rem;
}

.data-table tr:hover td {
  background: var(--cream);
}

.actions-cell {
  white-space: nowrap;
}

.actions-cell .btn {
  margin-right: 8px;
}

/* Error Section */
.error-section {
  padding: 120px 0;
  text-align: center;
  background: var(--cream);
}

.error-content h1 {
  font-size: 5rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.error-message {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .order-view-grid {
    grid-template-columns: 1fr;
  }

  .order-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  h1 { font-size: 2.25rem; }

  .hero {
    padding: 80px 0;
    min-height: 400px;
    background-position: right center;
  }

  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.7) 100%
    );
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .form-row.two-col,
  .form-row.three-col,
  .form-row.four-col {
    grid-template-columns: 1fr;
  }

  .checkbox-group {
    flex-direction: column;
    gap: 12px;
  }

  .auth-card {
    padding: 40px 25px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features,
  .feeds-overview,
  .cta {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .features,
  .feeds-overview,
  .cta {
    padding: 50px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .card-header,
  .card-body {
    padding: 20px;
  }
}
