@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --dac-orange: #F78D20;
  --dac-bg: #f3f4f6;
  --dac-text: #0f172a;
  --dac-muted: #64748b;
  --dac-border: #e5e7eb;
  --dac-card: #ffffff;
  --dac-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

body.dac-logged-out {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  background: var(--dac-bg);
  color: var(--dac-text);
}

.dac-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.dac-auth__container {
  width: 100%;
  max-width: 420px;
}

.dac-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.dac-brand__logo img {
  display: block;
  width: 180px;
  height: auto;
}

.dac-brand__mark {
  line-height: 1;
  letter-spacing: 0.5px;
  font-weight: 800;
  font-size: 56px;
  color: var(--dac-orange);
}

.dac-brand__sub {
  margin-top: -10px;
  text-align: center;
  color: rgba(247, 141, 32, 0.9);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.dac-auth__title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}

.dac-auth__subtitle {
  text-align: center;
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--dac-muted);
}

.dac-card {
  background: var(--dac-card);
  border: 1px solid var(--dac-border);
  border-radius: 10px;
  box-shadow: var(--dac-shadow);
  padding: 18px;
}

.dac-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dac-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.dac-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--dac-border);
  background: #fff;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}

.dac-input:focus {
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.dac-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dac-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--dac-muted);
  user-select: none;
}

.dac-checkbox input {
  accent-color: var(--dac-orange);
}

.dac-link {
  font-size: 12px;
  color: #2563eb;
  text-decoration: none;
}

.dac-link:hover {
  text-decoration: underline;
}

.dac-button {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #6b7280;
  color: #fff;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.dac-button:hover {
  filter: brightness(0.98);
}

.dac-auth__footer {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--dac-muted);
}

.dac-auth__footer a {
  color: #334155;
  text-decoration: none;
}

.dac-auth__footer a:hover {
  text-decoration: underline;
}

.dac-flash {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--dac-border);
  background: #fff;
  font-size: 13px;
}

.dac-flash--alert {
  border-color: rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.06);
}

.dac-flash--notice {
  border-color: rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.06);
}
