html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f9fafb;
  /* light neutral background */
  color: #333;
}

/* Main app body */
.app-body {
  flex-direction: column;
  padding: 10px;
  max-width: 600px;
  margin: 10px;
}

.app-body>h2 {
  width: 100%;
  text-align: center;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Group of primary buttons */
.button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

/* Primary action buttons */
.action-btn {
  padding: 0.75rem 1.5rem;
  background: #0078d7;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.action-btn:hover,
.action-btn:focus {
  background: #005a9e;
  cursor: pointer;
  transform: translateY(-2px);
}

/* Auth section */
.auth-group {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.auth-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  background: #e5e7eb;
  color: #333;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.auth-btn:hover {
  background: #d1d5db;
}

/* Status + labels */
.status-text {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-style: italic;
  color: #555;
}

.subject-label {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
}

b {
  font-weight: bold;
}

/* Disabled state for action buttons */
.action-btn:disabled {
  background: #cbd5e1;
  /* light gray */
  color: #888;
  cursor: not-allowed;
  transform: none;
  /* no hover effect */
  box-shadow: none;
}

/* Disabled state for auth buttons */
.auth-btn:disabled {
  background: #e5e7eb;
  /* neutral gray */
  color: #aaa;
  cursor: not-allowed;
  opacity: 0.6;
}

.tabs {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.tab-btn {
  padding: 8px 12px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
  width: 100%;
}

.tab-btn.active {
  background: #fff;
  border-bottom: 2px solid #0078d4;
  font-weight: bold;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}