* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #4f46e5;
  --primary-dark: #4338ca;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --bg-gradient-start: #667eea;
  --bg-gradient-end: #764ba2;
  --card-bg: rgba(255, 255, 255, 0.95);
  --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--text-color);
}

.container {
  max-width: 600px;
  width: 100%;
}

.support-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.icon-wrapper svg {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 16px;
  line-height: 1.2;
}

.subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.features {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 14px;
}

.feature svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-color);
  stroke-width: 2;
  fill: none;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

/* Online status - green */
.status-indicator.status-online {
  background: #f0fdf4;
  color: #16a34a;
}

.status-indicator.status-online .status-dot {
  background: #16a34a;
  animation: pulse 2s ease-in-out infinite;
}

/* Away status - yellow/amber */
.status-indicator.status-away {
  background: #fef3c7;
  color: #d97706;
}

.status-indicator.status-away .status-dot {
  background: #f59e0b;
  animation: pulse 2s ease-in-out infinite;
}

/* Offline status - gray */
.status-indicator.status-offline {
  background: #f3f4f6;
  color: #6b7280;
}

.status-indicator.status-offline .status-dot {
  background: #9ca3af;
  animation: none;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

#offline-form {
  margin-top: 32px;
  padding: 32px;
  background: #fef3c7;
  border-radius: 16px;
  border: 2px solid #fbbf24;
}

#offline-form h2 {
  font-size: 20px;
  color: var(--text-color);
  margin-bottom: 20px;
}

#offline-form input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 16px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
  font-family: inherit;
}

#offline-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

#offline-form button {
  width: 100%;
  padding: 14px 24px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

#offline-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

#offline-form button:active {
  transform: translateY(0);
}

.loading-message {
  color: var(--text-light);
  font-size: 14px;
  margin-top: 16px;
}

@media (max-width: 640px) {
  .support-card {
    padding: 32px 24px;
  }

  h1 {
    font-size: 26px;
  }

  .subtitle {
    font-size: 16px;
  }

  .features {
    flex-direction: column;
    gap: 12px;
  }
}
