/* ============================================================
   Servoking – 2G/3G Abschaltung Kundeninformation
   styles.css
   ============================================================ */

/* --- Page Wrapper --- */
.page-wrapper {
  max-width: 794px;
  margin: 0 auto;
  background: #ffffff;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid #e0e0e0;
  background: #ffffff;
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-logos .logo-thermoking {
  height: 36px;
  width: auto;
}

.header-logos .logo-divider {
  width: 1px;
  height: 32px;
  background: #cccccc;
  margin: 0 14px;
}

.header-logos .logo-frigoblock {
  height: 28px;
  width: auto;
}

.logo-servoking-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.logo-servoking-wrap .logo-servoking {
  height: 42px;
  width: auto;
}

.logo-servoking-wrap .logo-tagline {
  font-size: 10px;
  color: #555;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

/* ============================================================
   HERO TITLE BAND
   ============================================================ */
.hero-band {
  background: #1a2e4a;
  padding: 22px 28px 18px;
}

.hero-band h1 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.hero-band .hero-subtitle {
  color: #b0bfcf;
  font-weight: 400;
}

/* ============================================================
   CONTENT AREA
   ============================================================ */
.content {
  padding: 25px; 
}

/* Salutation */
.salutation {
  font-weight: 700;
  margin-bottom: 10px;
}

.intro-text {
  margin-bottom: 20px;
}

/* ============================================================
   INFO BOX (blue highlight)
   ============================================================ */
.info-box {
  border: 1.5px solid #A1C9E0;
  border-left: 4px solid #00AFE9;
  background: #EAF3F8;
  padding: 14px 18px;
  margin-bottom: 28px;
  border-radius: 2px;
}

.info-box-title {
  color: #00AFE9;
  font-weight: 700;
  margin-bottom: 6px;
}


/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  margin-bottom: 28px;
}

.section-title {
  font-weight: 700;
  font-size:1.3rem;
  color: #1a2e4a;
  border-left: 4px solid #00AFE9;
  padding-left: 12px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.section-intro {
  margin-bottom: 14px;
}

/* ============================================================
   TABLES
   ============================================================ */
.data-table, .world-table {
  width: 100%;
  margin-bottom: 12px;
}

.data-table thead th,
.world-table thead th {
  background: #f5f5f5 !important;
  font-size:0.9rem !important;
  font-weight: 700;
  color: #333;
  text-align: left;
  padding: 9px 14px;
  border-bottom: 2px solid #ddd !important;
  border-top: 1px solid #ddd !important;
}

.data-table tbody tr {
  border-bottom: 1px solid #e8e8e8;
}

.data-table tbody tr:last-child {
  border-bottom: none;
}

.data-table tbody td {
  padding: 9px 14px;
  vertical-align: top;
}

.data-table tbody td:first-child {
  font-weight: 700;
}

/* Year column in schedule table */
.data-table .col-year {
  width: 90px;
}

/* Austria table: red highlight dates */
.highlight-red {
  color: #e84040;
  font-weight: 700;
}

/* ============================================================
   TABLE NOTE (hint text)
   ============================================================ */
.table-note {
  font-size: 11.5px;
  font-style: italic;
  color: #555;
  margin-top: 6px;
  margin-bottom: 6px;
  line-height: 1.5;
}

/* ============================================================
   TWO-COLUMN DEVICE OVERVIEW
   ============================================================ */
.device-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.device-card {
  border: 1.5px solid #e0e0e0;
  border-radius: 3px;
  padding: 16px;
}

.device-card.warning {
  border-color: #e84040;
  border-top: 4px solid #e84040;
}

.device-card.safe {
  border-color: #00AFE9;
  border-top: 4px solid #00AFE9;
}

.device-card-title {
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.device-card.warning .device-card-title {
  color: #c0392b;
}

.device-card.safe .device-card-title {
  color: #00AFE9;
}

.device-card .badge {
  font-size: 28px;
  line-height: 1;
  color:#00AFE9 !important;
  padding: 0 10px 0 0 !important;
}

.device-card .subtitle {
  color: #555;
  margin-bottom: 10px;
  font-style: normal;
}

.device-card ul {
  list-style: none;
  padding: 0;
}

.device-card ul li {
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.device-card ul li::before {
  content: '●';
  flex-shrink: 0;
}

.device-card.warning ul li::before {
  color: #c0392b;
}

.device-card.safe ul li::before {
  color: #00AFE9;
}

/* ============================================================
   ALERT BOX (critical network note)
   ============================================================ */
.alert-box {
  border: 1.5px solid #e84040;
  border-left: 4px solid #e84040;
  background: #fff8f8;
  padding: 14px 18px;
  margin-bottom: 30px;
  border-radius: 2px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.alert-box .alert-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-box-content {}

.alert-box-title {
  color: #c0392b;
  font-weight: 700;
  margin-bottom: 6px;
}

.alert-box p {
  line-height: 1.5;
}

/* ============================================================
   RECOMMENDATIONS
   ============================================================ */
.recommendation-list {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}

.recommendation-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.5;
}

.recommendation-list li::before {
  content: '●';
  position: absolute;
  left: 6px;
  top: 7px;
  color: #1a2e4a;
}

.recommendation-list li strong {
  font-weight: 700;
}

.cta-text {
  margin-bottom: 28px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 20px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-photo {
  width: 72px;
  height: 100px;
  object-fit: cover;
  flex-shrink: 0;
}

.contact-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a2e4a;
  margin-bottom: 2px;
}

.contact-info .contact-role {
  font-size: 13.5px;
  color: #00AFE9;
  font-weight: 700;
  margin-top:10px;
  margin-bottom: 8px;
  line-height: 1.35;
}

.contact-info .contact-details {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.contact-info .contact-details a {
  color: #2b6cb0;
  text-decoration: none;
}

.contact-info .contact-details a:hover {
  text-decoration: underline;
}

/* ============================================================
   SIGN-OFF
   ============================================================ */
.signoff {
  margin-bottom: 6px;
}

.signoff-name {
  font-weight: 700;
  margin-bottom: 20px;
}

.page3-note {
  font-style: italic;
  color: #555;
  border-top: 1px solid #e0e0e0;
  padding: 12px 0;
  margin-bottom: 0;
}

/* ============================================================
   PAGE BREAK (visual separator between pages)
   ============================================================ */
.page-break {
  height: 24px;
  background: #e8e8e8;
  margin: 0;
}

/* ============================================================
   PAGE 3 – FULL TABLE
   ============================================================ */
.page3 {
  padding: 28px 28px;
}

.footer-info {
  font-size: 11px;
  color: #555;
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.5;
}

.footer-info .company-address {
  font-weight: 600;
}

.table-note-top {
  font-size: 11.5px;
  font-style: italic;
  color: #555;
  margin-bottom: 14px;
}

.big-table-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2e4a;
  margin-bottom: 16px;
}

.world-table {
  width: 100%;
  font-size: 12px;
  margin-bottom: 14px;
  border-collapse: separate !important;
  border-spacing: 1px !important;
}

.world-table thead th {
  background: #00AFE9 !important;
  color: #ffffff !important;
  font-weight: 700;
  text-align: left;
  padding: 2px;
  border: none !important;
  font-size: 0.8rem !important;
}

.world-table tbody tr:nth-child(even) {
  background: #f7f9fc;
}

.world-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.world-table tbody td {
  padding: 7px 10px;
  border: 1px solid #e5e5e5;
  vertical-align: top;
  font-size: 0.8rem !important;
  background-color: #ddd !important;
}

.world-table tbody td:first-child,
.world-table tbody td:nth-child(3) {
  font-weight: 600;
}

.world-table .done {
  background-color: #030F39 !important;
  color:white;
  text-align: center;
}

.world-table .no-plan {
  text-align: center;
}

.world-table .year {
  background-color: #9DD0EF !important;
  text-align: center;
}

.source-note {
  font-size: 11px;
  color: #666;
  text-align: right;
  font-style: italic;
  margin-top: 6px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }

  .hero-band {
    padding: 18px 16px;
  }

  .hero-band h1 {
    font-size: 18px;
  }

  .content {
    padding: 20px 16px 0;
  }

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

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

  .page3 {
    padding: 20px 16px;
  }

  .world-table {
    font-size: 10.5px;
  }

  .world-table thead th,
  .world-table tbody td {
    padding: 6px 7px;
  }

  .data-table {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .header-logos .logo-divider {
    margin: 0 8px;
  }

  .hero-band h1 {
    font-size: 16px;
  }

  .section-title {
    font-size: 15px;
  }
}

.world-table th.spacer-col,
.world-table td.spacer-col {
     background-color:white !important;
}

.wcr_news_item_detail .wcr_news_link,
.wcr_news_item_detail .wcr_news_abstract_detail {
    display:none;
}

.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* flüssiges Scrollen auf iOS */
}