/* ============================================
   EXASOFT INFORMAČNÍ STRÁNKY - CSS STYLY
   ============================================ */

/* Hlavní kontejner stránky */
.info-page {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Navigace s kotvami */
.info-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.info-nav a,
.info-nav a:link,
.info-nav a:visited {
  display: inline-block;
  padding: 8px 15px;
  background: #1a5c9e;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 4px;
  font-size: 13px;
  transition: background-color 0.2s ease;
}

.info-nav a:hover,
.info-nav a:active {
  background: #144a7a;
  color: #fff !important;
  text-decoration: none !important;
}

/* Hlavní nadpis stránky (h2) */
.info-subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #1a5c9e;
  margin: 0 0 25px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid #1a5c9e;
}

/* Nadpis sekce (h3) */
.info-section-title {
  font-size: 17px;
  font-weight: bold;
  color: #333;
  margin: 15px 0 10px 0;
  padding: 0;
}

/* ============================================
   SEKCE DOPRAVCE - box s barevným okrajem
   ============================================ */
.info-shipping-section {
  background: #fff;
  border: 1px solid #ddd;
  border-left: 4px solid #1a5c9e;
  border-radius: 4px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.info-shipping-section .info-section-title {
  margin-top: 0;
  color: #1a5c9e;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-shipping-section .info-section-title img {
  height: 28px;
  width: auto;
}

/* ============================================
   UPOZORNĚNÍ / VAROVÁNÍ
   ============================================ */
.info-warning {
  background: #fff8e6;
  border: 1px solid #f5c518;
  border-left: 4px solid #f5c518;
  border-radius: 4px;
  padding: 12px 15px;
  margin: 15px 0;
  font-size: 13px;
  color: #5a4a00;
}

.info-warning strong {
  color: #8a6d00;
}

/* Důležité upozornění (červené) */
.info-warning.info-warning-important {
  background: #fff0f0;
  border-color: #dc3545;
  color: #721c24;
}

.info-warning.info-warning-important strong {
  color: #dc3545;
}

/* ============================================
   TABULKY
   ============================================ */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 13px;
}

.info-table th,
.info-table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
}

.info-table th {
  background: #1a5c9e;
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
}

.info-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.info-table tbody tr:hover {
  background: #e9f4ff;
}

/* Sloupec s cenou - zarovnání vpravo */
.info-table td:last-child {
  font-weight: bold;
  color: #1a5c9e;
  white-space: nowrap;
}

/* Zvýraznění "Zdarma" */
.info-table td.info-free,
.info-table td:last-child:contains("Zdarma") {
  color: #28a745;
}

/* ============================================
   SEZNAMY
   ============================================ */
.info-list {
  margin: 10px 0;
  padding-left: 25px;
}

.info-list li {
  margin: 6px 0;
  line-height: 1.5;
}

/* Seznam uvnitř shipping sekce */
.info-shipping-section .info-list {
  background: #f8f9fa;
  padding: 15px 15px 15px 35px;
  border-radius: 4px;
  margin: 15px 0;
}

/* ============================================
   ODSTAVCE
   ============================================ */
.info-page p {
  margin: 10px 0;
  text-align: justify;
}

/* ============================================
   ODKAZY
   ============================================ */
.info-page a {
  color: #1a5c9e;
  text-decoration: none;
}

.info-page a:hover {
  text-decoration: underline;
}

/* ============================================
   DEFINICE POJMŮ (pro GDPR apod.)
   ============================================ */
.info-page p strong:first-child {
  color: #1a5c9e;
}

/* ============================================
   RESPONSIVITA
   ============================================ */
@media (max-width: 768px) {
  .info-page {
    padding: 15px;
  }
  
  .info-subtitle {
    font-size: 20px;
  }
  
  .info-table {
    font-size: 12px;
  }
  
  .info-table th,
  .info-table td {
    padding: 8px;
  }
  
  .info-shipping-section {
    padding: 15px;
  }
  
  .info-nav {
    flex-direction: column;
  }
  
  .info-nav a,
  .info-nav a:link,
  .info-nav a:visited,
  .info-nav a:hover,
  .info-nav a:active {
    text-align: center;
    color: #fff !important;
  }
}