/* Фирменное оформление дашборда Dream поверх Unfold */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/dream/fonts/manrope-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/dream/fonts/manrope-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/dream/fonts/manrope-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/dream/fonts/manrope-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/dream/fonts/manrope-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/dream/fonts/manrope-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122;
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/dream/fonts/marcellus-latin-400-normal.woff2') format('woff2');
}

:root {
  --dream-ink: #050912;
  --dream-deep: #0a1222;
  --dream-surface: #0c1526;
  --dream-line: #1c2b47;
  --dream-gold: #d5b057;
  --dream-gold-light: #f3dfa6;
}

body,
.font-sans {
  font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
}

/* Тёмная тема Dream: глубокий сине-чёрный вместо нейтрального серого */
.dark body,
html.dark body {
  background-color: var(--dream-ink);
}

.dark .bg-base-900 {
  background-color: var(--dream-surface) !important;
}

.dark .bg-base-800 {
  background-color: var(--dream-deep) !important;
}

.dark .border-base-800,
.dark .border-base-700 {
  border-color: var(--dream-line) !important;
}

/* Название рядом с логотипом в сайдбаре */
.dream-sidebar-title {
  font-family: 'Marcellus', serif;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.26em;
  background: linear-gradient(180deg, #f6e6b4 0%, #d5b057 55%, #a97f28 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Заголовки страниц и карточек — золотой акцент */
.dark h1,
.dark h2 {
  color: #fff;
}

/* Экран входа */
.dream-login {
  font-family: 'Marcellus', serif;
  letter-spacing: 0.2em;
}

/* Кнопки-действия и ссылки наследуют золото из палитры primary Unfold */
button[type='submit'],
.button {
  font-weight: 600;
}

/* Material Symbols в фирменном золоте */
.material-symbols-outlined {
  color: var(--dream-gold);
}

/* Таблицы: убираем «полосатость», оставляем тонкие линии */
.dark table tbody tr:hover {
  background-color: rgba(213, 176, 87, 0.05) !important;
}
