/* Disabled button state */
.login-button.disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* Health status indicator */
.health-status {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
}

.health-status.healthy {
  background-color: #4CAF50; /* Green */
}

.health-status.unhealthy {
  background-color: #F44336; /* Red */
}

/* Login page health status tooltip */
.health-status-container {
  position: absolute;
  left: -1rem;
  top: calc(50% - 4px);
  display: inline-block;
  display: inline-flex;
  align-items: center;
}

.health-status-container .tooltip-text {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
}

.health-status-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Dashboard health alert banner */
.health-alert {
  display: flex;
  align-items: center;
  background-color: #FFF3CD;
  color: #856404;
  padding: 8px 16px;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid #FFEEBA;
  position: sticky;
  top: 0;
  z-index: 100;
}

.health-alert .close-alert {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 5px;
  color: #856404;
}

.health-alert .close-alert:hover {
  color: #533f03;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .health-alert {
    padding: 6px 10px;
    font-size: 0.875rem;
  }
  
  .health-status-container .tooltip-text {
    width: 100px;
    margin-left: -50px;
    font-size: 10px;
  }
}
