body {
  background: #f5f7fa;
  font-family: "Inter", sans-serif;
  color: #333;
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

contenido {
	flex: 1;
	margin-left: 5px;
	margin-right: 5px;
}

nav {
  display: flex;
  align-items: center;           /* vertically center title + image */
  justify-content: flex-start;   /* left-align */
  background-color: #222;        /* dark background */
  color: #fff;                   /* white text */
  padding: 0.5rem 1rem;          /* space inside nav */
  gap: 1rem;                     /* space between title and image */
}

nav h1 {
  margin: 0;                     /* remove default margin */
  font-size: 1.5rem;             /* adjust as needed */
}

nav img {
  height: 40px;                  /* control image size */
  width: auto;                   /* preserve aspect ratio */
}

.cards {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
.card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.card h3 {
	margin-top: 0;
	margin-bottom: 0;
	color: #1f2937; /* slightly softer black */
}
.card h4 {
	margin-bottom: 0;
}
.ok { color: green; }
.fail { color: red; }

.status-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.875rem;
  display: inline-block;
}
.status-badge.ok {
	color: rgb(21, 97, 21);
	background: rgb(205, 240, 205);
}
.status-badge.alert {
	color: rgb(138, 92, 0);
	background: rgb(255, 239, 180);
}
.status-badge.error {
	color: rgb(138, 0, 0);
	background: rgb(255, 204, 204);
}



.bead {
	display: inline-block;
	width: 15px;
	height: 15px;
	border-radius: 50%;
}
.bead.green { background-color: #28a745; } /* green */
.bead.red { background-color: #dc3545; }   /* red */

.status-table {
	width: 100%;
	border-collapse: collapse;
	text-align: center;
}

.status-table th,
.status-table td {
	border: 1px solid #ccc;         /* interior + exterior lines */
	padding: 8px;
}

.status-table th {
	background-color: #f8f8f8;      /* optional: subtle header bg */
	font-weight: bold;
}

.timeline {
	display: flex;
	width: 100%;         /* full width */
	height: 20px;        /* bar height */
}

.histo {
	flex: 1;             /* each segment equal width */
}
.histo.Ok { background-color: #cdefc3; }    /* green */
.histo.Alerta { background-color: #ffeaa7; } /* amber */
.histo.Error { background-color: #fab1a0; } /* red */

footer {
  text-align: center;
  padding: 3px;
  background-color: rgb(175, 168, 165);
  color: rgb(59, 57, 57);
	max-height: 80px;
}

footer p {
	margin: 5px;
}