:root {
  --blue1: #0d76e8;
  --blue2: #57a4f9;
  --black1: #24242e;
  --black2: #424250;
  --grey1: #75758a;
  --grey2: #868ba1;
  --shadow: #c4bbbb60;
  --green1: #31bc90;
  --green2: #4cdf99;
  --yellow: #f2b04d;
  --red1: #cb473f;
  --red2: #eb5758;
  --white: #ffffff;
  font-family: "Inter", sans-serif;
}
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
  border-radius: 8px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.44, var(--blue2)), color-stop(0.86, var(--blue1)));
}
body,
section,
div,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
.app {
  margin-top: 68px;
  /* max-height: calc(100vh - 90px); */
  /* overflow: auto; */
}
.topbar {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 50;
  box-sizing: border-box;
  background: var(--white);
}
.hidden {
  display: none !important;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.error {
  border-color: var(--red1) !important;
  color: var(--red1) !important;
}
svg {
  width: 1em;
  height: 1em;
  stroke-width: 0;
}
.bottomLine {
  border-bottom: 1px solid var(--shadow);
}
.back-btn {
  position: absolute;
  left: -92px;
  width: 52px;
  height: 52px;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grey1);
  color: var(--grey1);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  stroke: var(--grey1);
  fill: var(--white);
}

.admin-control {
  position: fixed;
  top: 0;
  width: 100vw;
  background: var(--blue1);
  z-index: 399;
  height: 32px;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 0 24px;
}
.admin-control > div {
  border-radius: 4px;
  border: 1px solid var(--white);
  cursor: pointer;
  padding: 2px 8px;
}
body:has(.admin-control) .topbar,
body:has(.admin-control) .main-menu {
  margin-top: 32px;
}
body:has(.admin-control) .app {
  margin-top: 100px;
}

.notifications {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 222222;
}

.notification {
  background: var(--white);
  width: 300px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px 0px rgba(116, 116, 116, 0.2);
  padding: 16px 8px 16px 40px;
  font-size: 18px;
  font-family: "Inter", sans-serif;
  position: relative;
}

.notification.notif-info {
  border-left: 4px solid var(--blue1);
}
.notification.notif-warning {
  border-left: 4px solid var(--yellow);
}
.notification.notif-error {
  border-left: 4px solid var(--red2);
}

.notif-close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--grey2);
}

.notif-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--black1);
  line-height: 1.43;
  margin-bottom: 4px;
}

.notif-text {
  font-size: 12px;
  color: var(--grey2);
  line-height: 1.43;
}
.notif-icon {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

.notif-info .notif-icon {
  color: var(--blue1);
}
.notif-warning .notif-icon {
  color: var(--yellow);
}
.notif-error .notif-icon {
  color: var(--red2);
}
.notif-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  cursor: pointer;
}
button.notif-btn {
  font-family: inherit;
  border: 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(19, 128, 246, 0.1);
  color: var(--blue1);
  cursor: pointer;
}

.topbar {
  min-width: 960px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid var(--shadow);
}
.topbar a {
  text-decoration: none;
  color: inherit;
}
.left-bar,
.right-bar {
  display: flex;
  align-items: center;
  gap: 20px;
}
.right-bar {
  position: relative;
}
.left-bar {
  font-size: 26px;
  font-weight: 600;
}
.profile .profile-menu {
  position: absolute;
  width: 240px;
  height: auto;
  padding: 8px;
  right: 0px;
  top: 48px;
  background: var(--white);
  box-shadow: 0px 4px 10px 0px rgba(116, 116, 116, 0.2);
  border-radius: 12px;
  max-height: none;
}
.right-bar .menu-block {
  height: 40px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.43;
}
.menu-profile-icon,
.menu-logout-icon {
  padding: 0 16px;
  width: 1.6em;
  height: 1.6em;
  fill: none;
  stroke: var(--black1);
}
.right-bar .menu-block:hover {
  background: #edf7ff;
}

.topbar .profile {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}
.topbar .profile img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.notice-icon {
  display: none !important;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--black1);
}

.oops {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  color: var(--grey1);
  font-size: 20px;
  padding: 40px 24px;
}

/* notice */

.title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--black1);
}
.subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--grey1);
}
.field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
}
.field label {
  display: flex;
  height: 24px;
  align-items: center;
  align-self: stretch;
  color: var(--black2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.43;
}
.field input,
.field textarea {
  display: flex;
  padding: 14px;
  font-size: 16px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  color: var(--black1);
  border: 1px solid var(--grey2);
  background: var(--white);
  outline: none;
}
.field input::placeholder {
  color: var(--grey1);
}
.field input:hover,
.field input:focus {
  border-color: var(--blue1);
}
.hint {
  color: var(--red1);
  font-size: 12px;
  line-height: 1.5;
}
.formButtons {
  display: flex;
  justify-content: space-between;
}
.accent-btn {
  font-family: inherit;
  padding: 16px 28px;
  text-align: center;
  color: var(--white);
  border-radius: 8px;
  background: var(--blue1);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
  border: 0;
  cursor: pointer;
}
.warn-btn {
  font-family: inherit;
  padding: 16px 28px;
  text-align: center;
  color: var(--white);
  border-radius: 8px;
  background: var(--red1);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
  border: 0;
  cursor: pointer;
}
.info-btn {
  font-family: inherit;
  padding: 16px 28px;
  text-align: center;
  color: var(--black1);
  border-radius: 8px;
  background: var(--shadow);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
  border: 0;
  cursor: pointer;
}
.second-btn {
  font-family: inherit;
  padding: 16px 28px;
  text-align: center;
  color: var(--blue1);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
  border: 1px dashed var(--blue1);
  cursor: pointer;
}
.development,
.labeled {
  position: relative;
}
.development::before,
.labeled::before {
  content: "В розробці";
  position: absolute;
  font-size: 14px;
  top: -8px;
  right: -16px;
  padding: 2px 8px;
  border-radius: 12px;
  background: var(--red2);
  color: var(--white);
  z-index: 5;
}
.labeled {
  --content: attr(data-labeled);
}
.devText {
  --content: attr(data-dev);
}
.devText::before {
  content: var(--content);
}
.labeled::before {
  content: var(--content);
  text-transform: uppercase;
}
.app {
  margin-left: 300px;
  width: calc(100vw - 300px);
}
.main-menu {
  position: fixed;
  top: 68px;
  width: 300px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue1) 0, var(--blue2) 100%);
  color: var(--white);
  font-size: 20px;
  z-index: 10;
}
.main-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 8px 0 0 0;
}
.main-menu li:first-child {
  padding-left: 20px;
  position: fixed;
  bottom: 20px;
}
.main-menu .project-this {
  display: flex;
  align-items: center;
  gap: 12px;
}
.main-menu .project-this .project-photo {
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-menu .project-this .project-photo.blue {
  background-color: #ecf6ff;
}
.main-menu .project-this .project-photo.biege {
  background-color: #ffecec;
}
.main-menu .project-this .project-photo.pink {
  background-color: #fdecff;
}
.main-menu .project-this .project-photo.green {
  background-color: #ecffec;
}
.main-menu .project-this .project-photo.yellow {
  background-color: #fffaec;
}
.main-menu .project-this img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-menu .project-this .project-name {
  overflow: hidden;
  max-width: 200px;
  max-height: 50px;
}
.main-menu li a {
  display: flex;
  align-items: center;
  height: 44px;
  padding-left: 40px;
  text-decoration: none;
  color: inherit;
}
.main-menu li a:hover,
.main-menu li a.current {
  background: var(--blue2);
}
