@charset "UTF-8";
/**
  Нормализация блочной модели
 */
*,
::before,
::after {
  box-sizing: border-box;
}

/**
  Убираем внутренние отступы слева тегам списков,
  у которых есть атрибут class
 */
:where(ul, ol):where([class]) {
  padding-left: 0;
}

/**
  Убираем внешние отступы body и двум другим тегам,
  у которых есть атрибут class
 */
body,
:where(blockquote, figure):where([class]) {
  margin: 0;
}

/**
  Убираем внешние отступы вертикали нужным тегам,
  у которых есть атрибут class
 */
:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl):where([class]) {
  margin-block: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

:where(fieldset[class]) {
  margin-left: 0;
  padding: 0;
  border: none;
}

/**
  Убираем стандартный маркер маркированному списку,
  у которого есть атрибут class
 */
:where(ul[class]) {
  list-style: none;
}

:where(address[class]) {
  font-style: normal;
}

/**
  Обнуляем вертикальные внешние отступы параграфа,
  объявляем локальную переменную для внешнего отступа вниз,
  чтобы избежать взаимодействие с более сложным селектором
 */
p {
  --paragraphMarginBottom: 24px;
  margin-block: 0;
}

/**
  Внешний отступ вниз для параграфа без атрибута class,
  который расположен не последним среди своих соседних элементов
 */
p:where(:not([class]):not(:last-child)) {
  margin-bottom: var(--paragraphMarginBottom);
}

/**
  Упрощаем работу с изображениями и видео
 */
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/**
  Наследуем свойства шрифт для полей ввода
 */
input,
textarea,
select,
button {
  font: inherit;
}

html {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  height: 100%;
  /**
    Убираем скачок интерфейса по горизонтали
    при появлении / исчезновении скроллбара
   */
  scrollbar-gutter: stable;
}

/**
  Плавный скролл
 */
html,
:has(:target) {
  scroll-behavior: smooth;
}

body {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  min-height: 100%;
  /**
    Унифицированный интерлиньяж
   */
  line-height: 1.5;
}

/**
  Нормализация высоты элемента ссылки при его инспектировании в DevTools
 */
a:where([class]) {
  display: inline-flex;
}

/**
  Курсор-рука при наведении на элемент
 */
button,
label {
  cursor: pointer;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут fill со значением 'none' или начинается с 'url')
 */
:where([fill]:not([fill=none], [fill^=url])) {
  fill: currentColor;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут stroke со значением 'none')
 */
:where([stroke]:not([stroke=none], [stroke^=url])) {
  stroke: currentColor;
}

/**
  Чиним баг задержки смены цвета при взаимодействии с svg-элементами
 */
svg * {
  transition-property: fill, stroke;
}

/**
  Приведение рамок таблиц в классический 'collapse' вид
 */
:where(table) {
  border-collapse: collapse;
  border-color: currentColor;
}

/**
  Удаляем все анимации и переходы для людей,
  которые предпочитают их не использовать
 */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@font-face {
  font-family: "Kumbh Sans";
  src: url("../fonts/KumbhSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kumbh Sans";
  src: url("../fonts/KumbhSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root {
  --color-light: #ffffff;
  --color-dark: #141414;
  --color-dark-10: #1a1a1a;
  --color-dark-15: #262626;
  --color-dark-20: #333333;
  --color-dark-40: #666666;
  --color-gray-50: #7e7e81;
  --color-gray-60: #98989a;
  --color-red: #ff5500;
  /* Forest greens */
  --color-forest-900: #06756a; /* very dark green - footers, overlays */
  --color-forest-700: #358f63; /* dark green - header, nav */
  --color-forest-500: #9dcf5e; /* primary brand green - buttons, links */
  --color-forest-300: #7fbf8a; /* light green - accents, badges */
  /* Cream backgrounds */
  --color-cream-50: #fffdf6; /* page background */
  --color-cream-100: #fff8e7; /* content background (cards, sections) */
  --color-cream-200: #f1e8d0; /* raised surfaces */
  /* Accent / neutrals */
  --color-accent: #bade5b;
  --color-muted: #f3f3f0; /* subdued metadata text */
  --color-text-on-cream: #11321d; /* primary text color on cream */
  --color-text-on-forest: #ffffff; /* text on dark green */
  --color-border: #e6e0d4; /* separators */
  --border: 0.0625rem solid var(--color-dark-15);
  --border-radius: 0.9375rem;
  --shadow-up: 0 -0.25rem 0.625rem 0 var(--color-forest-900);
  --shadow: 0 0.25rem 0.625rem 0 var(--color-forest-900);
  --shadow-light: 0 0.25rem 0.625rem 0 var(--color-forest-700);
  --font-family-base: "Inter", sans-serif;
  --font-family-accent: "Kumbh Sans", sans-serif;
  --container-width: 100rem;
  --container-padding-x: 2rem;
  --container-padding-y: 5rem;
  --transition-duration: 0.2s;
}
@media (width <= 90.06125rem) {
  :root {
    --container-width: 80rem;
  }
}

.container {
  max-width: calc(var(--container-width) + var(--container-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
}

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

@media (width <= 47.99875rem) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (width > 47.99875rem) {
  .visible-mobile {
    display: none !important;
  }
}

html.is-lock {
  overflow: hidden;
}

body {
  font-size: clamp(0.875rem, 0.8112745098rem + 0.2614379085vw, 1.125rem);
  display: flex;
  flex-direction: column;
  font-family: var(--font-family-base);
  letter-spacing: -0.03em;
  color: var(--color-text-on-cream);
  background-color: var(--color-cream-50);
}

main {
  flex-grow: 1;
  padding-inline: var(--container-padding-x);
  padding-block: var(--container-padding-y);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  color: var(--color-text-on-cream);
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
  font-family: var(--font-family-accent);
  font-weight: 500;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-weight: 600;
}

h1,
.h1 {
  font-size: clamp(1.875rem, 1.237745098rem + 2.614379085vw, 4.375rem);
  line-height: 1.2;
}

h2,
.h2 {
  font-size: clamp(1.75rem, 1.2720588235rem + 1.9607843137vw, 3.625rem);
  line-height: 1.3;
}

h3,
.h3 {
  font-size: clamp(1.5rem, 1.2450980392rem + 1.045751634vw, 2.5rem);
}

h4,
.h4 {
  font-size: clamp(1.125rem, 0.9975490196rem + 0.522875817vw, 1.625rem);
}

h5,
.h5 {
  font-size: clamp(1.125rem, 1.0294117647rem + 0.3921568627vw, 1.5rem);
}

h6,
.h6 {
  font-size: clamp(1.125rem, 1.0931372549rem + 0.1307189542vw, 1.25rem);
}

a,
button,
select,
label,
input,
textarea,
svg * {
  transition-duration: var(--transition-duration);
}

a {
  color: inherit;
}
@media (any-hover: hover) {
  a:hover {
    color: var(--color-accent);
  }
}
@media (any-hover: none) {
  a:active {
    color: var(--color-accent);
  }
}
a[class] {
  text-decoration: none;
}

button {
  background-color: var(--color-forest-300);
  color: var(--color-text-on-forest);
}

:focus-visible {
  outline: 0.125rem dashed var(--color-light);
  outline-offset: 0.25rem;
  transition-duration: 0s !important;
}

a[aria-label],
button[aria-label] {
  position: relative;
}
a[aria-label]::before,
button[aria-label]::before {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 2.75rem;
  height: 2.75rem;
  content: "";
}

.icon {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
}
.icon::before {
  --size: 1.25rem;
  width: var(--size);
  height: var(--size);
  content: "";
  flex-shrink: 0;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.icon__phone::before {
  background-image: url("../icons/phone.svg");
}
.icon__email::before {
  background-image: url("../icons/email.svg");
}
.icon__copyright::before {
  background-image: url("../icons/copyright.svg");
}

.logo {
  max-width: clamp(8.75rem, 8.1286764706rem + 2.5490196078vw, 11.1875rem);
}

.button {
  display: inline-flex;
  justify-content: center;
  padding: 1.125rem 1.5rem;
  font-size: 1.125rem;
  color: var(--color-light);
  background-color: var(--color-forest-900);
  white-space: nowrap;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
@media (width <= 90.06125rem) {
  .button {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
  }
}
@media (any-hover: hover) {
  .button:hover {
    color: var(--color-accent);
    background-color: var(--color-forest-700);
    border-color: var(--color-accent);
  }
}
@media (any-hover: none) {
  .button:active {
    color: var(--color-accent);
    background-color: var(--color-forest-700);
    border-color: var(--color-accent);
  }
}
.button__accent {
  padding: 0.875rem 1.25rem;
  font-weight: 500;
  color: var(--color-dark);
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  border-radius: 0.625rem;
}
@media (width <= 90.06125rem) {
  .button__accent {
    padding: 0.625rem 0.875rem;
    border-radius: 0.375rem;
  }
}

.burger-button {
  width: 2.125rem;
  height: 2.125rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 0.3125rem;
  padding: 0.53125rem 0.265625rem;
  color: var(--color-light);
  background-color: transparent;
  border: none;
}
@media (any-hover: hover) {
  .burger-button:hover {
    color: var(--color-accent);
  }
}
@media (any-hover: none) {
  .burger-button:active {
    color: var(--color-accent);
  }
}
.burger-button.is-active .burger-button__line:first-child {
  rotate: 45deg;
  transform-origin: 0;
  translate: 0.25em -0.1em;
}
.burger-button.is-active .burger-button__line:nth-child(2) {
  rotate: -45deg;
}
.burger-button.is-active .burger-button__line:last-child {
  width: 0;
}
.burger-button__line {
  width: 100%;
  height: 0.125rem;
  background-color: currentColor;
  border-radius: 1rem;
  transition-duration: var(--transition-duration);
}
.burger-button__line:last-child {
  width: 55%;
  align-self: end;
}

.header {
  position: sticky;
  z-index: 100;
  top: 0;
  animation-name: scrolling-header;
  animation-fill-mode: both;
  animation-timeline: scroll();
  animation-range: 6.25rem 12.5rem;
}
@keyframes scrolling-header {
  to {
    box-shadow: var(--shadow);
  }
}
.header__promo {
  padding-block: 0.875rem;
  text-align: center;
  color: var(--color-text-on-forest);
  background-color: var(--color-forest-900);
  box-shadow: var(--shadow);
}
@media (width <= 47.99875rem) {
  .header__promo {
    display: none;
  }
}
.header__promo-inner {
  display: flex;
  justify-content: end;
  column-gap: 2rem;
}
.header__promo-link {
  font-size: clamp(0.875rem, 0.8431372549rem + 0.1307189542vw, 1rem);
  color: var(--color-text-on-fores);
}
.header__body {
  padding-block: 1.5rem;
  background-color: var(--color-forest-700);
  box-shadow: var(--shadow-light);
}
@media (width <= 47.99875rem) {
  .header__body {
    padding-block: 1.25rem;
  }
}
.header__body-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 1rem;
}
@media (width <= 90.06125rem) {
  .header__body-inner {
    column-gap: 0.5rem;
  }
}
@media (width > 47.99875rem) {
  .header__overlay {
    display: contents;
  }
}
@media (width <= 47.99875rem) {
  .header__overlay {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 3rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--color-forest-900), var(--color-forest-700), var(--color-forest-500));
    transition-duration: var(--transition-duration);
  }
  .header__overlay:not(.is-active) {
    opacity: 0;
    visibility: hidden;
    translate: 100%;
  }
}
@media (width <= 47.99875rem) {
  .header__menu {
    overflow: auto;
  }
}
.header__menu-list {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}
@media (width <= 90.06125rem) {
  .header__menu-list {
    column-gap: 0.25rem;
  }
}
@media (width <= 47.99875rem) {
  .header__menu-list {
    flex-direction: column;
    row-gap: 1rem;
  }
}
.header__menu-link {
  padding: 0.875rem 1.5rem;
  color: var(--color-muted);
}
@media (width <= 90.06125rem) {
  .header__menu-link {
    padding: 0.625rem 1.125rem;
  }
}
.header__menu-link.is-active {
  font-weight: 500;
  color: var(--color-text-on-forest);
  background-color: var(--color-forest-900);
  border: 0.0625rem solid var(--color-forest-500);
  box-shadow: var(--shadow);
  border-radius: 0.625rem;
  pointer-events: none;
}
@media (width <= 47.99875rem) {
  .header__contact-us-link {
    width: 100%;
    max-width: 18.75rem;
    align-self: center;
  }
}

.footer {
  width: 100%;
  color: var(--color-text-on-forest);
  background-color: var(--color-forest-700);
}
.footer__promo {
  height: min-rem(50);
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-forest-900);
  box-shadow: var(--shadow-up);
}
.footer__promo-title {
  font-size: 16;
  font-weight: 400;
}
.footer__body {
  height: auto;
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 3.125rem;
  padding-inline: 9.375rem;
}
@media (width <= 63.99875rem) {
  .footer__body {
    flex-direction: column;
    align-items: center;
    row-gap: 1.25rem;
    padding-inline: 7.5rem;
  }
}
@media (width <= 47.99875rem) {
  .footer__body {
    padding-inline: 5rem;
  }
}
@media (width <= 30.06125rem) {
  .footer__body {
    padding-inline: 3.125rem;
  }
}
.footer .contacts {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}
@media (width <= 47.99875rem) {
  .footer .contacts {
    row-gap: 1.25rem;
  }
}
.footer .contacts__title {
  font-size: clamp(1.125rem, 1.0294117647rem + 0.3921568627vw, 1.5rem);
  font-weight: 600;
  white-space: normal;
  overflow-wrap: break-word;
}
.footer .contacts__list {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}
.footer .contacts__item {
  font-size: clamp(0.875rem, 0.8431372549rem + 0.1307189542vw, 1rem);
  color: var(--color-muted);
}

.hero {
  position: relative;
  height: 11.25rem;
  width: 100%;
  overflow: hidden;
}
.hero__banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}
.hero__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
  width: auto;
  max-width: 62.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.875rem 1.25rem;
  background-color: transparent;
  color: var(--color-cream-100);
  border-radius: 0.9375rem;
  box-shadow: var(--shadow);
  font-family: var(--font-family-accent);
  z-index: 10;
  transform: translate(-50%, -50%);
}
@media (width <= 47.99875rem) {
  .hero__inner {
    width: 80%;
  }
}
.hero__title {
  font-weight: 600;
  font-size: 2.125rem;
  text-align: center;
  line-height: 1.2;
}
@media (width <= 90.06125rem) {
  .hero__title {
    font-size: 1.75rem;
  }
}
@media (width <= 63.99875rem) {
  .hero__title {
    font-size: 1.5rem;
  }
}
@media (width <= 47.99875rem) {
  .hero__title {
    font-size: 1.125rem;
  }
}
@media (width <= 30.06125rem) {
  .hero__title {
    font-size: 1rem;
  }
}

.title-block {
  text-align: center;
}
.title-block h1 {
  font-size: 3.125rem;
  font-weight: 700;
}
@media (width <= 63.99875rem) {
  .title-block h1 {
    font-size: 2.125rem;
  }
}
@media (width <= 47.99875rem) {
  .title-block h1 {
    font-size: 1.5rem;
  }
}

.gallery {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 10px;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 1.875rem;
}

.gallery-item {
  width: 26.25rem;
  height: 20rem;
  border: var(--border);
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  box-shadow: var(--shadow);
  border-radius: 0.9375rem;
}
@media (width <= 47.99875rem) {
  .gallery-item {
    width: 100%;
    height: auto;
  }
}
.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.work-directions {
  width: 100%;
  margin: 40px auto;
  padding: 0 15px;
}
.work-directions h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}
.work-directions .directions-list {
  list-style: disc;
  padding-left: 25px;
  line-height: 1.6;
  color: #333;
}
.work-directions .directions-list li {
  margin-bottom: 8px;
}

.feed-table {
  width: 100%;
  border-collapse: separate;
  box-shadow: var(--shadow);
  border-radius: 0.9375rem;
  overflow: hidden;
  margin-top: 1.875rem;
}
.feed-table th,
.feed-table td {
  border: 1px solid var(--color-forest-700);
  padding: 18px 22px;
}
@media (width <= 47.99875rem) {
  .feed-table th,
  .feed-table td {
    padding: 0.625rem 0.625rem;
  }
}
.feed-table th.feed-title {
  width: auto;
  background: var(--color-forest-700);
  font-weight: 600;
  text-align: center;
  color: var(--color-light);
  box-shadow: var(--shadow);
}
.feed-table td.feed-text {
  line-height: 1.55;
  color: #333;
  box-shadow: var(--shadow);
}
.feed-table tr:nth-child(even) {
  background: var(--color-light);
}

.auth-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
}

.card {
  min-width: 31.25rem;
  max-width: 37.5rem;
  width: auto;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 2rem;
  color: var(--color-light);
  background: linear-gradient(135deg, var(--color-forest-900), var(--color-forest-700), var(--color-forest-500));
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
@media (width <= 47.99875rem) {
  .card {
    min-width: 25rem;
    width: 100%;
    padding: 1.25rem;
    row-gap: 1.5rem;
  }
}
@media (width <= 30.06125rem) {
  .card {
    min-width: 18.75rem;
    padding: 0.875rem;
  }
}
.card__title {
  margin-bottom: 2rem;
  color: var(--color-light);
}
@media (width <= 47.99875rem) {
  .card__title {
    margin-bottom: 1.25rem;
  }
}
@media (width <= 30.06125rem) {
  .card__title {
    margin-bottom: 0.875rem;
  }
}
.card .button {
  margin-top: 2rem;
}
@media (width <= 47.99875rem) {
  .card .button {
    margin-top: 1.25rem;
  }
}
@media (width <= 30.06125rem) {
  .card .button {
    margin-top: 0.875rem;
  }
}
.card__label {
  position: relative;
}
.card__label-name {
  position: absolute;
  top: -75%;
  left: -3%;
  font-weight: 500;
  pointer-events: none;
}
.card__label-avatar {
  margin-bottom: 2rem;
}
@media (width <= 47.99875rem) {
  .card__label-avatar {
    margin-bottom: 1.375rem;
  }
}
.card__input {
  box-shadow: var(--shadow);
  padding-inline: 0.5rem;
}
.card__input-avatar {
  position: absolute;
  top: 120%;
  left: -8%;
}
.card__message {
  position: absolute;
  top: -75%;
  right: 0;
  color: var(--color-muted);
}
.card__message-avatar {
  top: 250%;
  right: auto;
  line-height: 1;
}

.grid {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}

.notice {
  padding: 10px;
  border-radius: 6px;
  margin: 20px 0;
}

.notice.error {
  border: 2px solid #762c2c;
  background: #f3d3d3;
  color: #762c2c;
}

.notice.success {
  border: 2px solid #2c742b;
  background: #e1fee3;
  color: #2c742b;
}

.home-page .avatar {
  width: 12.5rem;
  height: 12.5rem;
  display: block;
  object-fit: cover;
  background-color: var(--color-muted);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
}
.home-page .home {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.25rem;
}
.home-page .home__greeting {
  font-size: clamp(1.375rem, 1.2156862745rem + 0.6535947712vw, 2rem);
  text-align: center;
  font-weight: 500;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: break-word;
}
.home-page .home__greeting-username {
  color: var(--color-cream-200);
}
.home-page .home__form {
  display: flex;
  justify-content: center;
}

.years-list .auth-warning {
  color: red;
  font-weight: bold;
  margin-bottom: 10px;
}
.years-list .year-item {
  margin: 0.25rem 9.375rem;
  background: #005b5f;
  border-radius: 5px;
  overflow: hidden;
  max-width: 80%;
}
.years-list .year-item .year-button {
  width: 100%;
  background: #005b5f;
  border: none;
  color: #fff;
  padding: 0.9375rem 1.25rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.years-list .year-item .year-button .arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: 0.3s;
}
.years-list .year-item .year-content {
  display: none;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.062745098);
  color: #fff;
  font-size: 16px;
}
.years-list .year-item.open .year-content {
  display: block;
}
.years-list .year-item.open .year-button .arrow {
  transform: rotate(-135deg);
}
.years-list .upload-form {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.062745098);
  padding: 15px;
  border-radius: 6px;
}
.years-list .upload-form h3 {
  margin-bottom: 10px;
  color: #fff;
}
.years-list .upload-form input[type=file] {
  margin-bottom: 10px;
  color: #fff;
}
.years-list .upload-form .upload-btn {
  background: #007b80;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
}
.years-list .upload-form .upload-btn:hover {
  background: #009199;
}
.years-list .file-item {
  margin-top: 8px;
  padding: 6px 0;
  display: flex;
  gap: 12px;
  align-items: center;
}
.years-list .upload-date {
  color: #888;
  font-size: 0.9em;
}
.years-list .delete-btn {
  color: #a00;
  font-size: 0.9em;
  text-decoration: underline;
  cursor: pointer;
}
.years-list .delete-btn:hover {
  color: red;
}
.years-list .add-entry-btn {
  display: inline-block;
  background: #057a6e;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  text-decoration: none;
}
.years-list .add-entry-btn:hover {
  background: #025c53;
}
.years-list .entry-list {
  margin-top: 10px;
}
.years-list .entry-date {
  color: #777;
  margin-left: 6px;
  font-size: 0.85em;
}
.years-list .alert {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  font-weight: 500;
}
.years-list .alert.success {
  background: #d4f8e1;
  color: #1e7d43;
}
.years-list .alert.error {
  background: #ffd8d8;
  color: #8c1b1b;
}
.years-list .entry-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.years-list .entry-link {
  color: var(--color-light);
}
.years-list .edit-btn,
.years-list .delete-btn {
  cursor: pointer;
  font-size: 14px;
  opacity: 0.8;
  transition: 0.2s;
}
.years-list .edit-btn:hover,
.years-list .delete-btn:hover {
  opacity: 1;
}
.years-list .alert {
  padding: 12px 18px;
  margin-bottom: 15px;
  border-radius: 6px;
  font-weight: 500;
  animation: fadeIn 0.3s ease-in-out;
}
.years-list .alert.success {
  background: #d4edda;
  color: #155724;
  border-left: 4px solid #28a745;
}
.years-list .alert.error {
  background: #f8d7da;
  color: #721c24;
  border-left: 4px solid #dc3545;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.years-list .modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}
.years-list .modal-active {
  display: flex !important;
}
.years-list .modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 420px;
  position: relative;
  text-align: left;
}
.years-list .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  cursor: pointer;
  display: none;
}

#toast-container {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-message {
  opacity: 0;
  padding: 14px 22px;
  font-size: 16px;
  border-radius: 8px;
  color: #fff;
  transition: 0.3s ease;
  transform: scale(0.95);
}

.toast-message.success {
  background: #2ecc71;
}

.toast-message.error {
  background: #e74c3c;
}

.toast-message.show {
  opacity: 1;
  transform: scale(1);
}

.add-page {
  max-width: 600px;
  margin: 40px auto;
  padding: 25px;
  background: rgba(255, 255, 255, 0.062745098);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.add-page h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
}
.add-page form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.add-page label {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.add-page input[type=text],
.add-page textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  color: black;
  resize: none;
  transition: 0.2s;
}
.add-page input[type=text]:focus,
.add-page textarea:focus {
  outline: none;
  border-color: #00b3b3;
  box-shadow: 0 0 6px rgba(0, 255, 255, 0.3);
}
.add-page input[type=file] {
  color: #fff;
  font-size: 14px;
}
.add-page button {
  width: 100%;
  padding: 14px;
  background: #057a6e;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s ease;
}
.add-page button:hover {
  background: #009199;
  transform: translateY(-2px);
}
.add-page button:active {
  transform: translateY(0);
}
.add-page a {
  display: inline-block;
  margin-top: 15px;
  color: #91d7d3;
  text-decoration: none;
  transition: 0.2s;
}
.add-page a:hover {
  text-decoration: underline;
}
.add-page .alert {
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 500;
  animation: fadeIn 0.3s ease-in-out;
}
.add-page .alert.success {
  background: #d4edda;
  color: #155724;
  border-left: 4px solid #28a745;
}
.add-page .alert.error {
  background: #f8d7da;
  color: #721c24;
  border-left: 4px solid #dc3545;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.entry-link {
  color: #006b6f;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}
.entry-link:hover {
  color: #00a9b3;
}

.back-btn {
  margin-top: 20px;
  display: inline-block;
  color: #006b6f;
}

.edit-btn {
  margin-right: 15px;
  color: #444;
  cursor: pointer;
}
.edit-btn:hover {
  color: #000;
}

.add-content-btn {
  background: #198754;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  margin: 15px 0;
  margin-left: 15px;
}
.add-content-btn:hover {
  background: #146c43;
}

#content-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 66, 66, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#content-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #ffffff;
  width: 500px;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0px 8px 28px rgba(0, 0, 0, 0.18);
  transform: translateY(20px);
  transition: 0.35s ease;
  color: #00494c;
}
#content-modal.visible .modal-window {
  transform: translateY(0);
}
.modal-window h3 {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 600;
}
.modal-window label {
  display: block;
  font-size: 15px;
  margin-top: 12px;
  margin-bottom: 6px;
  color: #003f42;
}
.modal-window textarea {
  width: 100%;
  min-height: 110px;
  padding: 10px;
  resize: vertical;
  border-radius: 8px;
  border: 1px solid #b6d6d7;
  font-size: 15px;
}
.modal-window textarea:focus {
  outline: 2px solid #0d8a87;
}
.modal-window input[type=file] {
  margin: 10px 0;
}
.modal-window .save-btn {
  margin-top: 18px;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #007b7e;
  color: white;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.25s;
}
.modal-window .save-btn:hover {
  background: #005f62;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #004c4e;
  transition: 0.2s;
}
.modal-close:hover {
  color: #007b7e;
}

@keyframes fade {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.results-page .results-year-button {
  background: var(--color-forest-700);
  color: white;
  border-radius: 8px;
  padding: 14px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}
.results-page .results-add-btn {
  background: #3fa36f;
  color: white;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.results-page .results-entry-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}
.results-page .results-last-update {
  margin-top: 25px;
  color: #777;
  font-size: 0.9em;
}

/* стрелка внутри кнопки */
.results-year-button {
  position: relative;
}
.results-year-button .arrow {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: 0.3s;
}

/* когда блок открыт — стрелка поворачивается */
.results-year-item.open .arrow {
  transform: rotate(-135deg);
}

.results-list .results-item {
  margin: 0.25rem 9.375rem;
  background: #005b5f;
  border-radius: 6px;
  overflow: hidden;
  max-width: 50%;
  transition: 0.25s ease;
}
.results-list .results-item .results-button {
  width: 100%;
  background: #005b5f;
  border: none;
  color: #fff;
  padding: 1rem 1.375rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.results-list .results-item .results-button .arrow {
  width: 11px;
  height: 11px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: 0.3s ease;
}
.results-list .results-item .results-content {
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.0823529412);
  padding: 0 1.375rem;
  transition: max-height 0.35s ease;
  color: #fff;
  font-size: 1rem;
}
.results-list .results-item .results-content .add-result-btn {
  margin-top: 0.75rem;
  background: #057a6e;
  color: white;
  border: none;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.25s;
}
.results-list .results-item .results-content .add-result-btn:hover {
  background: #025c53;
}
.results-list .results-item .results-content .results-entry-list {
  margin-top: 0.75rem;
}
.results-list .results-item .results-content .results-entry-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0;
  font-size: 0.9375rem;
}
.results-list .results-item .results-content .results-entry-list li .entry-link {
  color: var(--color-light);
  text-decoration: none;
  transition: 0.2s;
}
.results-list .results-item .results-content .results-entry-list li .entry-link:hover {
  text-decoration: underline;
}
.results-list .results-item .results-content .results-entry-list li .edit-btn,
.results-list .results-item .results-content .results-entry-list li .delete-result-btn {
  cursor: pointer;
  font-size: 0.875rem;
  opacity: 0.8;
  transition: 0.2s;
}
.results-list .results-item .results-content .results-entry-list li .edit-btn:hover,
.results-list .results-item .results-content .results-entry-list li .delete-result-btn:hover {
  opacity: 1;
}
.results-list .results-item.open .results-content {
  max-height: 300px;
  padding-bottom: 0.625rem;
}
.results-list .results-item.open .results-button .arrow {
  transform: rotate(-135deg);
}

/* ====== TOASTS ====== */
#toast-container {
  position: fixed;
  top: 1.875rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.toast-message {
  opacity: 0;
  padding: 0.875rem 1.375rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  color: #fff;
  transition: 0.3s ease;
  transform: scale(0.95);
}
.toast-message.success {
  background: #2ecc71;
}
.toast-message.error {
  background: #e74c3c;
}
.toast-message.show {
  opacity: 1;
  transform: scale(1);
}

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