* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  background: #f5f6f8;
  color: #1d1f2a;
}

#root {
  min-height: 100%;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-banner {
  background: #b00020;
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
}

.error-banner span {
  display: block;
}

.auth-gate {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}

.auth-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 40px;
  box-shadow: 0 12px 30px rgba(15, 15, 15, 0.12);
  max-width: 420px;
  width: 100%;
}

.auth-card h1 {
  margin: 0 0 16px;
  font-size: 24px;
}

.auth-card p {
  margin: 0 0 24px;
  color: #4c5161;
}

.primary-button {
  border: none;
  background: #2a5bd7;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.primary-button:disabled {
  background: #8aa1e8;
  cursor: not-allowed;
}

.primary-button:not(:disabled):hover {
  background: #2148ab;
}

.secondary-button {
  border: 1px solid #d3d7e3;
  background: #ffffff;
  color: #1d1f2a;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.secondary-button:hover {
  border-color: #2a5bd7;
  color: #2a5bd7;
}

.content {
  flex: 1;
  padding: 32px;
  display: flex;
  justify-content: center;
}

.content-inner {
  width: 100%;
  max-width: 980px;
}

.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.save-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-header h2 {
  margin: 0;
  font-size: 22px;
}

.save-status {
  color: #4c5161;
  font-size: 14px;
  margin-right: 16px;
}

.save-status.saving {
  color: #2a5bd7;
  font-weight: 600;
}

.form-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(15, 15, 15, 0.08);
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tab-button {
  border: 1px solid #d3d7e3;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  color: #3c4257;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab-button.active {
  background: #2a5bd7;
  border-color: #2a5bd7;
  color: #ffffff;
}

.tab-panel h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #1d1f2a;
}

.tab-saving-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2a5bd7;
  box-shadow: 0 0 0 2px rgba(42, 91, 215, 0.2);
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}
.loading {
  padding: 32px;
  text-align: center;
  color: #4c5161;
}

/*# sourceMappingURL=main.css.map */
