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

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #f9f9f9;
  min-height: 100vh;
}

.container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 100%;
  padding: 40px;
}

h1 {
  color: #333;
  margin-bottom: 10px;
  text-align: center;
  font-size: 32px;
}

.subtitle {
  color: #666;
  text-align: center;
  margin-bottom: 40px;
  font-size: 16px;
}

.apps-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.app-card {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  cursor: pointer;
}

.app-card:hover {
  border-color: #02133e;
  background: #f1f3ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 19, 62, 0.15);
}

.app-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.app-card h2 {
  color: #333;
  font-size: 20px;
  margin-bottom: 8px;
}

.app-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.app-badge {
  display: inline-block;
  background: #ffc107;
  color: #333;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  text-transform: uppercase;
}

/* Auth screen */
#auth-screen {
  text-align: center;
}

#auth-screen h1 {
  margin-bottom: 20px;
}

#auth-screen p {
  color: #666;
  margin-bottom: 30px;
  font-size: 16px;
}

.google-icon {
  width: 20px;
  height: 20px;
}

#loading {
  text-align: center;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #02133e;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#error {
  text-align: center;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}
