/* ==========================================================================
   Hawaii Reservation Checker - /hawaii-reservation-checker
   ========================================================================== */

.rc-hero {
  position: relative;
  border-radius: 80px 80px 80px 20px;
  overflow: hidden;
  margin: 36px 0 0;
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center center;
  background-color: #173f4f;
}
.rc-hero-back {
  position: absolute;
  top: 34px;
  left: 38px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 12px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.rc-hero-back:hover,
.rc-hero-back:focus {
  background: rgba(0, 0, 0, 0.62);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateX(-2px);
}
.rc-hero-back i {
  font-size: 11px;
  opacity: 0.9;
}
.rc-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 70px 5% 30px;
  background: linear-gradient(0deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.28) 60%, transparent 100%);
}
.rc-hero h1 {
  color: #fff;
  font-size: 34px;
  margin: 0 0 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
  line-height: 1.15;
}
.rc-hero h1 i {
  margin-right: 8px;
}
.rc-hero p {
  color: rgba(255,255,255,.94);
  font-size: 19px;
  margin: 0;
  max-width: 720px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  line-height: 1.5;
}

.rc-panel {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(220px, 1fr) auto;
  align-items: end;
  gap: 14px;
  margin: 24px 0 18px;
  padding: 18px;
  background: #f7faf9;
  border: 1px solid #dce7e3;
  border-radius: 16px;
}
.rc-field label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: #31524a;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.rc-field input[type="date"],
.rc-search-wrap input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd8d5;
  border-radius: 10px;
  background: #fff;
  color: #1f2933;
  font-size: 16px;
}
.rc-field input[type="date"] {
  padding: 8px 12px;
}
.rc-search-wrap {
  position: relative;
}
.rc-search-wrap i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7b76;
  font-size: 14px;
}
.rc-search-wrap input {
  padding: 8px 42px 8px 36px;
}
.rc-search-wrap button {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #edf2f0;
  color: #4b5d58;
  font-size: 20px;
  cursor: pointer;
}
.rc-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid #cfd8d5;
  border-radius: 10px;
  background: #fff;
  color: #273a36;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.rc-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.rc-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px auto 22px;
  padding: 0 12px;
  max-width: 780px;
}
.rc-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border: 2px solid #ddd;
  border-radius: 40px;
  background: #fff;
  color: #555;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.rc-tab:hover {
  border-color: #b9c4c0;
  color: #263b36;
  background: #f7faf9;
}
.rc-tab.is-active {
  background: #1f6d5b;
  border-color: #1f6d5b;
  color: #fff;
}
.rc-tab.is-active .fa {
  color: #fff !important;
}

.rc-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0 16px;
}
.rc-sum-card {
  border-radius: 16px;
  padding: 18px 14px 15px;
  text-align: center;
  border: 1px solid #e4e4e4;
  background: #fff;
}
.rc-sum-required { border-left: 4px solid #c2410c; }
.rc-sum-fees { border-left: 4px solid #1866B4; }
.rc-sum-total { border-left: 4px solid #1f6d5b; }
.rc-sum-verified { border-left: 4px solid #6b7280; }
.rc-sum-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
  color: #1f2933;
}
.rc-sum-required .rc-sum-num { color: #c2410c; }
.rc-sum-fees .rc-sum-num { color: #1866B4; }
.rc-sum-total .rc-sum-num { color: #1f6d5b; }
.rc-sum-verified .rc-sum-num {
  color: #374151;
  font-size: 22px;
  padding-top: 7px;
}
.rc-sum-label {
  font-size: 12px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: .7px;
  font-weight: 800;
}

.rc-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 14px;
}
.rc-action-btn,
.rc-action-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid #1f6d5b;
  background: #fff;
  color: #1f6d5b !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
}
.rc-action-btn:hover,
.rc-action-link:hover {
  background: #edf7f4;
}
.rc-action-btn.is-copied {
  background: #1f6d5b;
  color: #fff !important;
}
.rc-note {
  margin: 0 0 18px;
  padding: 13px 16px;
  border-radius: 12px;
  background: #f4f9ff;
  border: 1px solid #cfe2f6;
  color: #314257;
  font-size: 14px;
  line-height: 1.5;
}
.rc-results-meta {
  min-height: 22px;
  margin: 0 0 10px;
  color: #66706d;
  font-size: 14px;
  font-weight: 700;
}
.rc-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.rc-card {
  background: #fff;
  border: 1px solid #e2e6e5;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.035);
}
.rc-card.is-required {
  border-left: 5px solid #c2410c;
}
.rc-card.is-fee {
  border-left: 5px solid #1866B4;
}
.rc-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.rc-card h2 {
  margin: 0;
  color: #17252f;
  font-size: 21px;
  line-height: 1.25;
}
.rc-card-island {
  margin-top: 4px;
  color: #66706d;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
}
.rc-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}
.rc-badge-required {
  background: #fff4ed;
  color: #c2410c;
}
.rc-badge-fee {
  background: #eef6ff;
  color: #1866B4;
}
.rc-guidance {
  margin: 10px 0 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff8f0;
  color: #5b341c;
  border: 1px solid #f3d2b8;
  font-size: 14px;
  line-height: 1.5;
}
.rc-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.rc-detail {
  min-width: 0;
}
.rc-detail h3 {
  margin: 0 0 5px;
  color: #34443f;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.rc-detail p,
.rc-detail ul {
  margin: 0;
  color: #4c5b57;
  font-size: 14px;
  line-height: 1.5;
}
.rc-detail ul {
  padding-left: 18px;
}
.rc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.rc-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f6f8f7;
  color: #1f5f90 !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  border: 1px solid #e1e8e5;
}
.rc-links a.rc-primary-link {
  background: #1f6d5b;
  color: #fff !important;
  border-color: #1f6d5b;
}
.rc-verified {
  margin-top: 12px;
  color: #7a8581;
  font-size: 12px;
}
.rc-empty {
  margin: 24px 0;
  padding: 26px 18px;
  text-align: center;
  background: #f8faf9;
  border: 1px solid #dde7e3;
  border-radius: 16px;
}
.rc-empty h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #1f2933;
}
.rc-empty p {
  margin: 0 0 14px;
  font-size: 15px;
  color: #66706d;
}
.rc-bottom-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 28px 0 34px;
}
.rc-bottom-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 12px;
  background: #f7faf9;
  border: 1px solid #dde7e3;
  color: #263b36 !important;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.45;
}
.rc-bottom-link i {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #1f6d5b;
  color: #fff;
}

@media (min-width: 640px) {
  .rc-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rc-bottom-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .rc-hero {
    margin-top: 112px;
    min-height: 340px;
  }
  .rc-hero h1 {
    font-size: 42px;
  }
  .rc-hero p {
    font-size: 21px;
  }
  .rc-summary {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 760px) {
  .rc-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .rc-toggle {
    justify-content: flex-start;
  }
  .rc-detail-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 540px) {
  .rc-hero {
    margin-top: 24px;
    border-radius: 44px 44px 44px 14px;
    min-height: 270px;
  }
  .rc-hero-back {
    top: 24px;
    left: 24px;
    font-size: 12px;
    padding: 6px 12px 6px 10px;
  }
  .rc-hero h1 {
    font-size: 30px;
  }
  .rc-hero p {
    font-size: 17px;
  }
  .rc-panel {
    padding: 14px;
  }
  .rc-tab {
    padding: 10px 15px;
    font-size: 14px;
  }
  .rc-card-top {
    display: block;
  }
  .rc-badge {
    margin-top: 10px;
  }
}

@media print {
  .goUS-header,
  .footer,
  .rc-hero-back,
  .rc-panel,
  .rc-tabs,
  .rc-actions,
  .rc-bottom-links,
  .hg-aff-wrap {
    display: none !important;
  }
  .rc-hero {
    min-height: auto;
    border-radius: 0;
    background-image: none !important;
    background: #fff !important;
    color: #111;
  }
  .rc-hero-overlay {
    background: none;
    padding: 0 0 18px;
  }
  .rc-hero h1,
  .rc-hero p {
    color: #111;
    text-shadow: none;
  }
  .rc-results {
    display: block;
  }
  .rc-card {
    break-inside: avoid;
    margin-bottom: 12px;
    box-shadow: none;
  }
}
