/* Ergebnisse der Stationen */
.results {
  margin-top: 30px;
  font-size: 16px;
}

.server-card {
  background: #f9f9f9;
  padding: 0 5px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  text-align: left;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Info-Reihen für Label und Wert */
.info-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 15px;
}

.label {
  font-weight: bold;
  margin: 0 10px;
}

.value {
  color: #333;
  margin: 0;
}

/* Fehlertexte */
.error-messages {
  font-weight: bold;
  padding: 0px 0 0 10px;  
}

.error_ul {
  list-style: none;
  padding: 0 0 0 5px;
  margin: 8px 0 20px 0;
}

.error_li {
	font-weight: normal;
	margin-bottom: 5px;
	color: #8c0000;
}

.station_error {
	color: #8c0000;
}

/* Status farbliche Hervorhebung */
.server-status {
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  text-transform: capitalize;
}

.serverstatus_serverstatus_online {
  color: #28a745;
  background-color: #e0f7e0;
}

.serverstatus_serverstatus_partial {
  color: #ffc107;
  background-color: #fff3cd;
}

.serverstatus_serverstatus_offline {
  color: #dc3545;
  background-color: #f8d7da;
}

.serverstatus_serverstatus_critical {
  color: #721c24;
  background-color: #f5c6cb;
}

/* Fehlertext */
.error-message {
  color: #dc3545;
  font-weight: bold;
  margin-top: 15px;
}

.errorMessage {
	color: #dc3545;
	font-weight: bold;
	margin-top: 0;
	padding: 0 0 0 10px;
}

/* Wenn Auto-Load aktiviert ist, Eingabefeld und Button ausblenden */
.input-container {
  /* display: none; */
}

.ssl_messages {
	padding: 0 0 0 10px;
	margin: -20px 0 0 0;
}

.ssl-error {
	color: #ffc107;
	background-color: #fff3cd;
	font-weight: bold;
	padding: 6px 10px;
}

.ssl_row {
	/* margin-bottom: 0;	 */
}

.station_row {
	/* font-size: 20px; */
  /* font-weight: bold; */
  margin-top: 15px;
}





/* Mobile Anpassungen */
@media (max-width: 768px) {
	.last_update_row {
		display: none;
	}
  .server_container {
    width: calc(100% - 20px);
    margin: 20px auto;
    padding: 10px;
  }
  
  .ssl_row {
	  display: none;
  }
}

@media (max-width: 360px) {
  /* Für kleinere mobile Bildschirme */
  .server-card h2 {
    text-align: center;
    margin: 10px 0 20px 0;
  }

  .server_label, .status_label, .ssl_row {
    display: none;
  }

  .server-card p {
    margin: 0;
  }

  .check-button {
    padding: 12px 20px;
  }

  .value {
    margin: 0px 0;    
  }

  .info-row {
    margin-bottom: 10px;
    flex-direction: column;
  }

  .label {
    margin: 0 auto;
  }
  
  .station_label {
	  display: none;
  }

  .error-messages {
    font-weight: bold;
    text-align: center;
  }

  .error_ul {
    list-style: none;
    padding: 0;
    font-weight: normal;
    margin: 5px auto;
  }

  .station_value {
	text-transform: uppercase;
	  font-weight: bold;
	  font-size: 20px;
  }
  .server_value {
    font-weight: bold;
  }

  .last_update_row {
    flex-direction: column;
  }
	.ssl_messages {
		padding: 0;
		margin: 0 0 10px 0;
	} 
	.ssl-error {
		color: #ffc107;
		background-color: #fff3cd;
		font-weight: bold;
		padding: 6px 10px;
	}	
}
