.logo-container {
  text-align: center;
  margin: 20px 0;
}

.logo {
  max-width: 200px;
  height: auto;
}

@media (min-width: 1200px) {
  .logo {
    max-width: 250px;
  }
}

.legend {
  display: flex;
  justify-content: center;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 8px;
  max-width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap; 
  margin-top: 15px;
}

.legend-item {
  display: flex;
  align-items: center;
  margin: 5px 12px; 
  white-space: nowrap;
  font-size: 1rem;
  color: #444;
}

.legend-item i {
  margin-right: 6px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .legend {
    justify-content: flex-start; 
    padding: 10px 20px; 
  }

  .legend-item {
    flex: 1 1 50%; 
    margin: 5px 0;
  }
}

@media (max-width: 480px) {
  .legend-item {
    flex: 1 1 100%;
  }
}

:root {
  --color-operational: #28a745;
  --color-degraded: #ffc107;
  --color-partial-outage: #fd7e14;
  --color-major-outage: #dc3545;
  --color-maintenance: #17a2b8;
}

.tabs-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: space-evenly;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tabs-nav li {
  flex-grow: 1;
}

.tabs-nav li a {
  display: block;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: #444;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  border-radius: 6px;
  font-size: 0.9rem;
}

.tabs-nav li a.active {
  background-color: rgba(0, 123, 255, 0.1);
  color: #007bff;
  box-shadow: inset 0 -2px 0 #007bff;
}

.tabs-nav li a:hover {
  background-color: rgba(0, 123, 255, 0.05);
  color: #007bff;
}

.application-table th {
  background-color: transparent;
  color: #2c3e50;
  box-shadow: inset 0 -2px 0 #007bff;
  padding: 16px;
  text-align: center;
  border-bottom: 2px solid #e9ecef;
}

.tabs-content-box {
  margin-top: 10px;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.application-table-wrapper {
  flex: 1;
  overflow-x: auto;
  transition: opacity 0.5s ease-in-out;
}

.application-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.application-table thead {
  background-color: #f1f3f5;
  font-size: 14px;
  text-align: center;
  color: #495057;
}

.application-table th, .application-table td {
  padding: 8px;
  border-bottom: 1px solid #e9ecef;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.application-table th:first-child,
.application-table td:first-child {
  text-align: left;
  width: 20%;
}

.application-table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

i.fas.fa-check-circle {
  color: var(--color-operational);
}

i.fas.fa-exclamation-triangle {
  color: var(--color-degraded);
}

i.fas.fa-exclamation-circle {
  color: var(--color-partial-outage);
}

i.fas.fa-times-circle {
  color: var(--color-major-outage);
}

i.fas.fa-tools {
  color: var(--color-maintenance);
}

@media (max-width: 768px) {
  .tabs-nav {
    flex-direction: column;
  }
  
  .application-table-wrapper {
    overflow-x: auto;
  }

  .application-table {
    width: auto;
  }
}

.font-regular {
  font-size: 1rem;
  line-height: 1.5rem;
}

.font-large {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.875rem;
}

.font-largest {
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 2.625rem;
}

@media screen and (max-width: 650px) {
  .font-regular {
    font-size: 0.875rem;
    line-height: 1.3125rem;
  }

  .font-large {
    font-size: 1.125rem;
    line-height: 1.6875rem;
  }

  .font-largest {
    font-size: 1.375rem;
    line-height: 2.0625rem;
  }
}

@media screen and (max-width: 450px) {
  .font-large {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .font-largest {
    font-size: 1.125rem;
    line-height: 1.6875rem;
  }
}

.status-day {
  padding: 20px;
  overflow: hidden;
  background-color: #ffffff;
  text-align: left;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.status-day:hover {
  background-color: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.no-incidents {
  display: none;
}

.status-day i {
  margin-right: 8px;
  font-size: 1rem;
  color: #495057;
}

.impact-maintenance i {
  color: var(--color-maintenance);
}

.impact-critical i {
  color: var(--color-major-outage);
}

.impact-major i {
  color: var(--color-partial-outage);
}

.impact-minor i {
  color: var(--color-degraded);
}

.incidents-list {
  margin-top: 20px;
}

.incidents-list .impact-maintenance,
.incidents-list .impact-critical,
.incidents-list .impact-major,
.incidents-list .impact-minor {
  margin: 10px 0;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#custom-footer {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10pt;
}

    .footer-links a {
        margin: 0 10px;
        text-decoration: none;
        color: #007bff;
    }

        .footer-links a:hover {
            text-decoration: underline;
        }

.meta {
    margin-top: 10px;
    font-size: 9pt;
    color: #666;
}