/* Airline Alliance Comparison & Dossiers Styling */
.alliances-body {
  background-color: #f8fafc;
}

.alliances-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.alliance-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.alliance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.alliance-card.star-alliance { border-top: 4px solid #111827; }
.alliance-card.oneworld { border-top: 4px solid #005da4; }
.alliance-card.skyteam { border-top: 4px solid #002f6c; }

.alliance-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.alliance-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.alliance-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.alliance-title a {
  color: inherit;
  text-decoration: none;
}

.alliance-title a:hover {
  color: #4f46e5;
}

.alliance-est {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.alliance-tagline {
  font-size: 13px;
  font-style: italic;
  color: #475569;
  margin: 0 0 16px 0;
}

.alliance-stats-row {
  display: flex;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  justify-content: space-around;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
}

.alliance-card-body {
  font-size: 13px;
  color: #334155;
  margin-bottom: 18px;
}

.alliance-member-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.member-chip {
  background: #f1f5f9;
  color: #0f172a;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e2e8f0;
}

.member-chip:hover {
  background: #e2e8f0;
  color: #4f46e5;
}

.member-chip.more {
  background: transparent;
  border: none;
  color: #64748b;
  font-style: italic;
}

.alliance-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.alliance-link-btn {
  display: block;
  text-align: center;
  background: #090d16;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}

.alliance-link-btn:hover {
  background: #4f46e5;
}

/* Alliance Tables */
.alliance-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.alliance-table th,
.alliance-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.alliance-table th {
  background: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
}

.tier-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.tier-pill.silver { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.tier-pill.gold { background: #fef9c3; color: #854d0e; border: 1px solid #fde047; }
.tier-pill.ruby { background: #ffe4e6; color: #9f1239; border: 1px solid #fecdd3; }
.tier-pill.sapphire { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.tier-pill.emerald { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; font-weight: 800; }
.tier-pill.elite { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.tier-pill.elite-plus { background: #ede9fe; color: #5b21b6; border: 1px solid #ddd6fe; }

/* Notice Box */
.alliance-notice-box {
  display: flex;
  gap: 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 14px;
}

.notice-icon {
  font-size: 24px;
  line-height: 1;
}

.alliance-notice-box strong {
  display: block;
  font-size: 14px;
  color: #92400e;
  margin-bottom: 4px;
}

.alliance-notice-box p {
  margin: 0;
  font-size: 13px;
  color: #78350f;
  line-height: 1.5;
}

/* Alliance Detail Dossier */
.alliance-hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-stat-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
}

.hero-stat-box strong {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.hero-stat-box span {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.alliance-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.alliance-member-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.member-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.member-iata {
  width: 42px;
  height: 42px;
  background: #090d16;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.member-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.member-name a {
  color: #0f172a;
  text-decoration: none;
}

.member-name a:hover {
  color: #4f46e5;
}

.member-country {
  font-size: 12px;
  color: #64748b;
}

.member-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  font-size: 12px;
}

.member-link {
  color: #4f46e5;
  font-weight: 700;
  text-decoration: none;
}

.member-search-btn {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
}

.member-search-btn:hover {
  background: #e2e8f0;
}

/* Tier Ladder */
.tier-ladder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.tier-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}

.tier-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.tier-name {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.tier-badge {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
}

.tier-perks {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Hub Pills */
.hub-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hub-pill {
  background: #fff;
  border: 1px solid #cbd5e1;
  padding: 8px 14px;
  border-radius: 8px;
  color: #0f172a;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.15s ease;
}

.hub-pill:hover {
  border-color: #4f46e5;
  color: #4f46e5;
  background: #f5f3ff;
}
