/* Sierra — main.css */
/* Imports design_system.css via base.html */

/* Layout */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
}

/* Logo */
.logo-center {
  text-align: center;
  padding: 20px 0 8px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 24px;
}

.logo-img {
  max-width: 180px;
  height: auto;
}

/* Slot info card */
.slot-info {
  background: #ffffff;
}

.slot-info h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.slot-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: #777;
  font-size: 13px;
}

.subtitle {
  font-size: 14px;
  color: #777;
}

.label-small {
  font-size: 13px;
  color: #777;
}

/* Refresh button */
.refresh-button {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-block;
}

.refresh-button img {
  max-width: 200px;
  height: auto;
  transition: filter 0.2s, transform 0.1s;
}

.refresh-button:hover img {
  filter: brightness(1.1);
  transform: scale(1.03);
}

/* Demo iframe */
.demo-script {
  background-color: transparent;
  color: #353535;
  padding: 0;
  border-radius: 4px;
  margin: 0;
  display: flex;
  align-items: flex-start;
}

.demo-script iframe {
  width: 100%;
  min-height: 400px;
  border: none;
  display: block;
}

/* Card grid (for all slots page) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 12px;
}

.card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

/* Centered helpers */
.centered-mt16 {
  text-align: center;
  margin-top: 16px;
}

.centered-small-mb10 {
  text-align: center;
  font-size: 0.85em;
  margin-bottom: 10px;
}

.centered-small-mb10 a {
  color: #ff512f;
  text-decoration: none;
}

.centered-small-mb10 a:hover {
  text-decoration: underline;
}

.mt40 {
  margin-top: 40px;
  border-color: #e0e0e0;
}

/* Preview image */
.preview-image {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
}

/* Section divider */
.section-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 36px 0;
}

/* Hero */
.hero {
  text-align: center;
  padding: 32px 0 8px;
}

.hero h1 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #1c0d0a;
}

.hero-desc {
  font-size: 16px;
  color: #555;
  max-width: 560px;
  margin: 0 auto 24px;
}

.hero-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-icon {
  font-size: 20px;
  margin-right: 6px;
}

.pool-count {
  font-size: 13px;
  color: #999;
}

/* Sections */
.section {
  margin-bottom: 8px;
}

.section h2 {
  margin-bottom: 12px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px;
}

.step-num {
  font-size: 22px;
  font-weight: 700;
  color: #ff512f;
  margin-bottom: 6px;
}

.step-title {
  font-weight: 600;
  font-size: 15px;
  color: #1c0d0a;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* Providers table */
.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}

.providers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.providers-table th {
  text-align: left;
  padding: 10px 14px;
  background: #f5f5f5;
  border-bottom: 2px solid #e0e0e0;
  font-weight: 600;
  color: #1c0d0a;
}

.providers-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #eeeeee;
  color: #353535;
}

.providers-table tr:last-child td {
  border-bottom: none;
}

.providers-table tr:hover td {
  background: #fafafa;
}

/* Info cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

@media (max-width: 480px) {
  .info-cards {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px;
}

.info-card-title {
  font-weight: 700;
  font-size: 14px;
  color: #1c0d0a;
  margin-bottom: 6px;
}

.info-card p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* FAQ */
.faq {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 16px;
  cursor: pointer;
}

.faq-item summary {
  font-weight: 600;
  font-size: 14px;
  color: #1c0d0a;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 18px;
  color: #ff512f;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 10px 0 0;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* All slots link */
.all-slots-link {
  text-align: center;
  margin-bottom: 40px;
}

.all-slots-link a {
  color: #ff512f;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.all-slots-link a:hover {
  text-decoration: underline;
}

/* Filter bar */
.filter-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 16px 0;
}

.filter-button {
  border: 1px solid #e0e0e0;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  color: #353535;
}

.filter-button:hover {
  background: #f9f9f9;
}

.search-input {
  flex: 1;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  color: #353535;
}
