/* Self-hosted Geist (variable, weights 100–900). Vendored from vercel/geist-font. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/GeistSans-Variable-68b1bdfa.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/GeistMono-Variable-774df0a9.woff2") format("woff2");
}

:root {
  /* Dark charcoal background */
  --color-bg-primary: #1a1a1a;
  --color-bg-secondary: #242424;
  --color-surface: #2a2a2a;

  /* Cream/beige card colors */
  --color-card: #f5efe6;
  --color-card-secondary: #ebe5dc;
  --color-card-muted: #e0dbd3;

  /* Text colors */
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #4a4a4a;
  --color-text-muted: #7a7a7a;
  --color-text-inverted: #f5efe6;
  --color-text-light: #a0a0a0;

  /* Orange/coral accent */
  --color-accent: #ff6b35;
  --color-accent-hover: #e55a2b;
  --color-accent-subtle: rgba(255, 107, 53, 0.15);

  /* Borders */
  --color-border: #333333;
  --color-border-strong: #444444;
  --color-border-card: #d4cfc6;

  /* Status colors */
  --color-success: #4a8f5a;
  --color-warning: #d4a03c;
  --color-error: #c55050;
}

html {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.font-display {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
}

body {
  letter-spacing: -0.01em;
  background-color: var(--color-bg-primary);
}

/* Grid background pattern */
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Card with clipped corners */
.card-clipped {
  background: var(--color-card);
  position: relative;
  clip-path: polygon(
    0 12px,
    12px 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}


/* Dotted separator */
.dotted-line {
  border: none;
  border-top: 1px dotted var(--color-text-muted);
  height: 0;
}

/* Diamond icon */
.diamond-icon {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: currentColor;
  transform: rotate(45deg);
}

.diamond-icon-outline {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

/* Section label style */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.section-label::after {
  content: '';
  flex: 1;
  height: 0;
  border-top: 1px dotted var(--color-text-muted);
}

/* Card number badge */
.card-number {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* Accent card (orange) */
.card-accent {
  background: var(--color-accent);
}

/* Form inputs on cards */
.input-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--color-border-card);
  color: var(--color-text-primary);
}

.input-card:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.7);
}

/* Button on cards */
.btn-card {
  background: var(--color-text-primary);
  color: var(--color-card);
  font-weight: 500;
  transition: all 0.2s;
}

.btn-card:hover {
  background: var(--color-text-secondary);
}

/* Checkbox styling for orange card */
.card-accent input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #1a1a1a;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.card-accent input[type="checkbox"]:checked {
  background: #f5efe6;
  border-color: #f5efe6;
}

.card-accent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 40%;
  width: 10px;
  height: 16px;
  border: solid #1a1a1a;
  border-width: 0 4px 4px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Month navigation bar */
.month-nav {
  display: flex;
  gap: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
}

.month-nav span {
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--color-border);
}

.month-nav span:last-child {
  border-right: none;
}

.month-nav span.active {
  color: var(--color-text-inverted);
}

@media (max-width: 639px) {
  .dashboard-header {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }
}
