@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400&display=swap');

:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #f72585;
    --background-dark: #121212;
    --background-darker: #0d0d0d;
    --background-light: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #b3b3b3;
    --border-color: #333333;
    --success-color: #4ade80;
    --warning-color: #fbbf24;
    --error-color: #f87171;
}

html {
  background: transparent !important;
}

body {
  margin: 0;
  text-align: center;
  padding-top: 43vh;
  color: var(--text-light);
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  font-weight: 300;
  overflow: hidden;
  background: transparent !important;
  min-height: 100vh;
}

.connection-indicator {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 20px;
  background: rgba(26, 26, 26, 0.9);
  border-radius: 8px;
  display: none;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  white-space: nowrap;
}

.connection-icon {
  flex-shrink: 0;
  vertical-align: middle;
}

.text-red-500 {
  color: var(--error-color) !important;
}

.text-green-500 {
  color: var(--success-color) !important;
}

svg.text-red-500 {
  color: var(--error-color) !important;
}

svg.text-green-500 {
  color: var(--success-color) !important;
}

/* Alert Styles */
.alert-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(26, 26, 26, 0.9);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 400px;
  max-width: 80%;
  animation: fadeIn 0.5s ease-out;
}

.alert-header {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.alert-content {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.alert-footer {
  font-size: 1rem;
  color: var(--text-gray);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .alert-container {
    min-width: 300px;
    padding: 20px;
  }
  
  .alert-header {
    font-size: 1.3rem;
  }
  
  .alert-content {
    font-size: 1rem;
  }
}
