

/* .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
} */

/* Footer Server Selector Styles */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-info {
  flex: 1;
  min-width: 200px;
}

.footer-server-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85em;
}

.server-label {
  font-weight: 500;
  color: #6c757d;
  white-space: nowrap;
}

#footer-domain-buttons {
  display: flex;
  gap: 6px;
}

.footer-domain-btn {
  padding: 4px 8px;
  font-size: 0.75em;
  font-weight: 500;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  text-decoration: none;
  border-width: 1px;
}

.footer-domain-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.footer-domain-btn.current {
  font-weight: 600;
  border-width: 2px;
  cursor: default;
}

.footer-domain-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.footer-domain-btn .status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.status-indicator.online {
  background-color: #28a745;
  box-shadow: 0 0 3px rgba(40, 167, 69, 0.6);
}

.status-indicator.offline {
  background-color: #dc3545;
  box-shadow: 0 0 3px rgba(220, 53, 69, 0.6);
}

.refresh-btn {
  padding: 4px 6px;
  font-size: 0.8em;
  line-height: 1;
  border-radius: 3px;
}

.domain-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #28a745;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1060;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 0.9em;
  font-weight: 500;
}

.domain-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Emergency Overlay Styles */
.emergency-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  transition: all 0.4s ease;
}

.emergency-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.emergency-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
  max-width: 480px;
  margin: 20px;
  animation: emergencySlideIn 0.4s ease-out;
}

@keyframes emergencySlideIn {
  0% { 
    transform: translateY(-30px); 
    opacity: 0; 
  }
  100% { 
    transform: translateY(0); 
    opacity: 1; 
  }
}

.emergency-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #f59e0b;
  display: inline-block;
}

.emergency-content h2 {
  color: #374151;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.emergency-content p {
  color: #6b7280;
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.5;
}

#emergency-monitor {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-emergency-domain {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 20px;
  text-align: left;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  border-width: 1px;
  font-size: 0.95rem;
  min-height: 75px;
  border-color: #d1d5db;
}

.btn-emergency-domain:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #9ca3af;
}

.btn-emergency-domain.btn-success {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.btn-emergency-domain.btn-success:hover:not(:disabled) {
  background-color: #dcfce7;
  border-color: #86efac;
}

.btn-emergency-domain:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f9fafb;
  color: #9ca3af;
}

.btn-emergency-domain .domain-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.btn-emergency-domain .domain-status {
  font-size: 0.85rem;
  opacity: 0.8;
}

.emergency-actions {
  border-top: 1px solid #f3f4f6;
  padding-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.emergency-actions .btn {
  padding: 8px 16px;
  font-weight: 500;
  border-width: 1px;
  font-size: 0.9rem;
  border-color: #d1d5db;
  color: #6b7280;
}

.emergency-actions .btn:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .footer-info {
    text-align: center;
    min-width: auto;
  }
  
  .footer-server-selector {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-server-selector {
    font-size: 0.8em;
    gap: 6px;
  }
  
  #footer-domain-buttons {
    gap: 4px;
  }
  
  .footer-domain-btn {
    padding: 3px 6px;
    font-size: 0.7em;
  }
  
  .server-label {
    font-size: 0.8em;
  }
  
  .domain-notification {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    transform: translateY(-100px);
  }
  
  .domain-notification.show {
    transform: translateY(0);
  }
  
  .emergency-overlay {
    padding-top: 5vh;
  }
  
  .emergency-content {
    margin: 15px;
    padding: 24px 20px;
    max-width: none;
  }
  
  .emergency-content h2 {
    font-size: 1.3rem;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .emergency-content p {
    font-size: 0.95rem;
    text-align: center;
  }
  
  .emergency-icon {
    font-size: 2rem;
    margin-bottom: 8px;
  }
  
  #emergency-monitor {
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .btn-emergency-domain {
    padding: 14px 16px;
    min-height: 70px;
  }
  
  .emergency-actions {
    justify-content: center;
  }
}


.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

.footer .btn-success {
  background-color: #489963;
  border-color: #489963;
}