/*!*********************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./templates/routes/main/rules/rules.css ***!
  \*********************************************************************************************************************/
/* Wrapper: solo vincolo di larghezza e padding — grid gestito da Bootstrap row/col */
.rules-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1rem 4rem;
}

.rules-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 0.8rem;
  overflow: hidden;
}

.rules-map {
  background: rgba(255, 255, 255, 0.96);
}

/* Header secondario interno tra due sezioni nella stessa card */
.rules-card-header--inner {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.rules-card-header {
  padding: 1rem 1.25rem;
  background: rgba(10, 25, 70, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.rules-card-header h5 {
  font-weight: 700;
  color: #0f2456;
  margin: 0;
  font-size: 1.05rem;
}

.rules-card-body {
  padding: 1.25rem;
}

.rules-card .card-body,
.rules-card .card-footer {
  background: rgba(255, 255, 255, 0.96);
}

.rules-section-title {
  font-weight: 700;
  color: #0f2456;
  border-left: 3px solid #2c7be5;
  padding-left: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.rules-list {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.rules-list li {
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  color: #2d3748;
}

.rules-list--warning li { color: #7a1f1f; }
.rules-list--warning li::marker { color: #dc3545; }

/* ============================================================
   TARIFFE
   ============================================================ */
.tariffe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.tariffe-item {
  background: rgba(44, 123, 229, 0.05);
  border: 1px solid rgba(44, 123, 229, 0.18);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tariffe-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a1a2e;
}

.tariffe-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c7be5;
  letter-spacing: -0.01em;
}

/* ============================================================
   CHI PUÒ RICHIEDERLO
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.cat-chip {
  background: white;
  border: 1px solid rgba(10, 25, 70, 0.15);
  border-radius: 0.4rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  color: #0f2456;
  font-weight: 500;
  text-align: center;
}

.cat-chip--wide { grid-column: 1 / -1; }

/* ============================================================
   SETTORI
   ============================================================ */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.sector-item {
  background: rgba(10, 25, 70, 0.04);
  border: 1px solid rgba(10, 25, 70, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.sector-badge {
  display: inline-block;
  background: #2c7be5;
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.sector-badge-sm {
  display: inline-block;
  background: #2c7be5;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.12rem 0.5rem;
  border-radius: 50px;
}

.sector-streets {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  color: #2d3748;
}

.sector-streets li { padding: 0.1rem 0; }

/* ============================================================
   TABELLA STRADE ALTERNATIVE
   ============================================================ */
.rules-table { margin-bottom: 0; font-size: 0.88rem; }

.rules-table thead th {
  background: rgba(10, 25, 70, 0.07) !important;
  color: #0f2456 !important;
  font-weight: 700 !important;
  font-size: 0.83rem !important;
  border-bottom: 2px solid rgba(10, 25, 70, 0.15) !important;
  text-align: left !important;
  padding: 0.55rem 0.75rem !important;
  white-space: nowrap;
}

.rules-table tbody td {
  text-align: left !important;
  vertical-align: middle;
  border-color: rgba(0, 0, 0, 0.06) !important;
  padding: 0.55rem 0.75rem !important;
  color: #2d3748;
  white-space: normal !important;
  word-break: break-word;
}

.rules-table tbody tr:last-child td { border-bottom: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767.98px) {
  .rules-wrapper { padding: 0.75rem 0.75rem 3rem; }

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

  .rules-table { font-size: 0.8rem; }
  .rules-table thead th,
  .rules-table tbody td { padding: 0.45rem 0.5rem !important; }
}

@media (max-width: 575.98px) {
  .rules-wrapper { padding: 0.5rem 0.5rem 3rem; }
  .rules-card-body { padding: 1rem; }
  .rules-card-header h5 { font-size: 0.92rem; }
  .tariffe-price { font-size: 1.15rem; }
}

