/* aircraftstatus--location-report.css */

.full-width-wrapper { min-width: 0; }
.main-content { padding: 24px 32px 48px; text-align: left !important; font-size: 1rem !important; font-weight: normal !important; }
@media (max-width: 700px) { .main-content { padding: 14px !important; } }
@media (max-width: 480px) { .main-content { padding: 10px !important; } }

/* ── Page header ── */
.ar-page-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 22px 0 18px;
  border-bottom: 2px solid #e8e8e8;
  margin-bottom: 28px;
}
.ar-page-header h1 { font-size: 1.55rem; font-weight: 800; color: #1a1a1a; margin: 0 0 4px; }
.ar-updated { font-size: .82rem; color: #888; }
.ar-admin-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: 6px;
  background: var(--green-1, #5B8D6A); color: #fff;
  font: 600 .83rem/1 system-ui, Arial, sans-serif;
  text-decoration: none; transition: filter .15s;
}
.ar-admin-link:hover { filter: brightness(1.1); color: #fff; text-decoration: none; }

/* ── Pumpkin cards ── */
.row.tight-gutters { margin-left: -6px; margin-right: -6px; }
.row.tight-gutters > [class*="col-"] { padding-left: 6px; padding-right: 6px; }
.pumpkin-card { border-width: 2px; border-radius: 10px; }
.pumpkin-title { font-weight: 800; font-size: .9rem; }
.pumpkin-time  { font-weight: 900; font-size: 1rem; }

/* ── Section wrapper ── */
.ar-section {
  margin-bottom: 32px;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.ar-section-header {
  background: var(--green-1, #5B8D6A);
  padding: 13px 20px;
}
.ar-section-header h2,
.ar-section-header h3 {
  font-size: 1rem; font-weight: 800; color: #fff; margin: 0;
}
.ar-section-meta {
  padding: 10px 20px 8px;
  background: #fafafa; border-bottom: 1px solid #f0f0f0;
  font-size: .87rem; color: #333;
}
.ar-meta-label { font-weight: 700; color: #555; margin-right: 4px; }

/* ── Tables ── */
.ar-table-wrap { overflow-x: auto; background: #fff; }
.ar-table {
  width: 100%; border-collapse: collapse; font-size: .84rem;
}
.ar-table thead th {
  padding: 9px 13px; text-align: center;
  font-size: .73rem; font-weight: 700; color: #555;
  text-transform: uppercase; letter-spacing: .04em;
  background: #f5f5f5; border-bottom: 2px solid #ebebeb;
  white-space: nowrap;
  border: 1px solid #e0e0e0;
}
.ar-table th:first-child, .ar-table td:first-child { text-align: left; }
.ar-table tbody tr { border-bottom: 1px solid #f2f2f2; transition: background .1s; }
.ar-table tbody tr:last-child { border-bottom: none; }
.ar-table tbody tr:hover { background: #fafff9; }
.ar-table td {
  padding: 9px 13px; vertical-align: middle;
  color: #333; text-align: center;
  border: 1px solid #e0e0e0;
}
.ar-table td:first-child { text-align: left; }

/* Status pill */
.ar-status {
  display: inline-block; padding: 2px 9px;
  border-radius: 12px; font-size: .72rem; font-weight: 700; white-space: nowrap;
}
.ar-status-available   { background: #e8f5e9; color: #2e7d32; }
.ar-status-unavailable { background: #fce4ec; color: #b71c1c; }
.ar-status-committed   { background: #fff3e0; color: #e65100; }
.ar-status-other       { background: #f3f3f3; color: #666; }

.ar-empty { text-align: center; color: #aaa; font-style: italic; padding: 16px !important; }

/* Print */
.ar-admin-login { display:flex; justify-content:flex-end; margin-bottom:20px; }

@media print {
  .ar-admin-link { display: none; }
  .ar-section    { break-inside: avoid; box-shadow: none; }
}
@media (max-width: 600px) {
  .ar-page-header { flex-direction: column; align-items: flex-start; }
}

/* ── Shared public page button bar ── */
.pub-btn-bar {
  display: flex; justify-content: flex-end; gap: 10px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.pub-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: 6px; border: none;
  background: var(--green-1, #5B8D6A); color: #fff;
  font: 600 .83rem/1 system-ui, Arial, sans-serif;
  text-decoration: none; cursor: pointer; transition: filter .15s;
}
.pub-btn:hover { filter: brightness(1.1); color: #fff; text-decoration: none; }
@media print { .pub-btn-bar { display: none !important; } }

@media (max-width: 700px) {
  .ar-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ar-section { margin-bottom: 16px; }
}
