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

/* Beta Notice Banner */
.beta-notice {
  background: #ff9800;
  color: white;
  padding: 12px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.beta-notice a {
  color: white;
  text-decoration: underline;
  font-weight: 600;
}

.beta-notice a:hover {
  color: #fff3e0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
  padding-top: 60px; /* Account for beta notice banner */
  color: #333;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

/* Header */
.page-header {
  background: white;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-header h1 {
  color: #333;
  font-size: 2rem;
  font-weight: 600;
}

.header-actions {
  display: flex;
  gap: 10px;
}

/* Screens */
.screen {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Auth Screen */
#auth-screen {
  text-align: center;
  min-height: 400px;
}

.auth-container {
  max-width: 400px;
  margin: 0 auto;
}

.auth-container h2 {
  color: #333;
  margin-bottom: 15px;
}

.subtitle {
  color: #666;
  margin-bottom: 30px;
}

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

/* Loading */
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

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

#loading-screen {
  text-align: center;
}

/* Activities Sections */
.activities-section {
  margin-bottom: 40px;
}

.activities-section:last-child {
  margin-bottom: 0;
}

.activities-section h2 {
  color: #667eea;
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.activities-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.activity-card {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.2s;
}

.activity-card:hover {
  background: #f0f0f0;
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.activity-card h3 {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 10px;
}

.activity-card h3 a {
  color: #667eea;
  text-decoration: none;
}

.activity-card h3 a:hover {
  text-decoration: underline;
}

.activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.activity-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.activity-meta-item strong {
  color: #333;
}

.activity-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.empty-state {
  color: #999;
  font-style: italic;
  text-align: center;
  padding: 40px 20px;
}

/* Buttons */
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-primary {
  background: #667eea;
  color: white;
}

.btn-primary:hover {
  background: #5568d3;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

/* Messages */
.error-message {
  background: #fee;
  color: #c33;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #c33;
}

/* Responsive */
@media (max-width: 600px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .activity-meta {
    flex-direction: column;
    gap: 8px;
  }

  .activity-actions {
    flex-direction: column;
  }
}
