/* Stilurile comune ale site-ului Azi Pot (aceleași culori ca aplicația, vezi app/src/ui/theme.ts). */

@font-face {
  font-family: 'Figtree';
  src: url('fonturi/Figtree_400Regular.woff2') format('woff2'), url('fonturi/Figtree_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('fonturi/Figtree_600SemiBold.woff2') format('woff2'), url('fonturi/Figtree_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('fonturi/Figtree_700Bold.woff2') format('woff2'), url('fonturi/Figtree_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('fonturi/Figtree_800ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --primary: #0b6b6b;
  --primary-pressed: #095757;
  --primary-soft: #e3f1f0;
  --hero: #0a4d4e;
  --hero-muted: rgba(255, 255, 255, 0.8);
  --hero-soft: rgba(255, 255, 255, 0.14);
  --spark: #f28c38;
  --background: #f4f6f8;
  --surface: #ffffff;
  --text: #16202b;
  --muted: #5a6675;
  --border: #e2e7ec;
  --border-strong: #cbd3db;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --success: #1e7b4a;
  --success-soft: #e4f3ea;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 1px 2px rgba(16, 32, 43, 0.05), 0 6px 20px rgba(16, 32, 43, 0.06);
  --shadow-raised: 0 2px 4px rgba(10, 77, 78, 0.18), 0 12px 28px rgba(10, 77, 78, 0.22);
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: var(--primary);
}

:focus-visible {
  outline: 3px solid var(--spark);
  outline-offset: 2px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  color: var(--hero);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(16, 32, 43, 0.08), 0 4px 12px rgba(16, 32, 43, 0.1);
}
.brand .dot {
  color: var(--spark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover {
  background: var(--primary-pressed);
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.btn-secondary {
  background: var(--primary-soft);
  color: var(--primary);
}
.btn-secondary:hover {
  background: #d3e8e6;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
