:root {
  --primary-color: #18298f;
  --secondary-color: #febc3d;
  --body-background: #effafe;
  --font-color: #20252d;
}

*, ::after, ::before {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  /* border-color: #e5e7eb; */
}

body {
  padding: 0;
  margin: 0;
  /* background-color: #dcf5ff; */
  background-color: var(--body-background);
  color: var(--font-color);
  height: 100vh;
  overflow: hidden;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

h1 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin: 1rem 0;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 1.5rem;
  border-bottom: 1px solid #d9e4e8;
}

.breadcrumb {
  font-weight: 800;
  margin: 0;
  font-size: 1rem;
}

.main-content {
  display: flex;
  height: 100%;
  position: relative;
}

/* Side navigation */

aside {
  padding: 1rem;
  border-right: 1px solid #d9e4e8;
  display: flex;
  width: 16rem;
  flex-direction: column;
}

aside h2 {
  margin: 0;
  display: flex;
  gap: 0.25rem;
  border-radius: 0.25rem;
  padding: .5rem .25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  transition: .2s ease-in all;
}

aside summary {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

aside h2 svg {
  width: 1.25rem;
  height: 1.25rem;
}

aside h2:hover {
  background: #c8e0ed;
}

aside details nav {
  overflow-y: auto;
}

aside details nav summary {
  border-radius: .25rem;
  cursor: pointer;
  transition: .2s ease-in all;
}

aside details nav details > div button:hover,
aside details nav summary:hover {
  background: #c8e0ed;
}

aside details nav summary > span {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

aside details nav details > div {
  margin: .25rem 0 .25rem .75rem;
}

aside details nav details > div button {
  font-size: 0.875rem;
  line-height: 1.25rem;
  border-radius: 0.25rem;
  padding: .25rem 0;
}

.project-icon {
  padding: .5rem;
  border-radius: 1rem;
}

.project-icon-small {
  padding: .3rem;
  border-radius: 1rem;
}

.side-menu-drops {
  padding-bottom: 1rem;
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding-left: 1.8rem;
}

.side-menu-drops > * {
  padding: .35rem .5rem;
}

.side-menu-drops > *:hover {
  background: #c8e0ed;
}

/* Common styles */

main {
  flex: 1 1 0%;
  overflow-y: auto;
  padding: 1.5rem 1.5rem 5rem;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: .1s ease-in all;
}

.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.h2 {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
}

h3 {
  margin: 0;
}

h5 {
  font-weight: 600;
  font-size: .9rem;
  margin: 0;
}

table {
  border-collapse: collapse;
}

button {
  cursor: pointer;
  transition: .2s ease-in all;
  border-radius: 0.25rem;
  background-color: transparent;
}

.button {
  border-radius: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  padding: .65rem 1rem;
  min-width: fit-content;
}

.primary--button {
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: #FFF;
}

.primary--button:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.secondary--button {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.secondary--button:hover {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #FFF;
}

.delete--button {
  border: 1px solid #fb5058;
  color: #fb5058;
}

.delete--button:hover {
  background: #fb5058;
  color: #FFF;
}

.w-100,
.w-full {
  width: 100%;
}

.button--small {
  padding: .5rem 1rem;
}

svg {
  display: block;
  vertical-align: middle;
}

.ml-auto {
  margin-left: auto;
}

.icon-size-1 {
  width: 1rem;
  height: 1rem;
}

.icon-size-1x {
  width: 1.5rem;
  height: 1.5rem;
}

form > :not([hidden]) ~ :not([hidden]),
.form > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1rem;
}

.logo {
  font-size: .8rem;
  color: var(--secondary-color);
  margin: 0;
}

.logo strong {
  font-size: 1.6rem;
  color: var(--primary-color);
}

.logo-large {
  font-size: 1rem;
}

.logo-large strong {
  font-size: 2.6rem;
}

.flex {
  display: flex
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-xxs {
  gap: .25rem;
}

.gap-xs {
  gap: .5rem;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.mt-1 {
  margin-top: 1rem;
}

.relative {
  position: relative;
}

/* header */
.notification-container {
  position: relative;
}

.notification-container > button {
  width: 2rem;
  height: 2rem;
  padding: 0;
}

.notification-badge {
  position: relative;
  right: .8rem;
  /* bottom: 0; */
  border-radius: 10rem;
  background-color: #ef4444;
  color: #FFF;
  font-size: 0.75rem;
  line-height: 1rem;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-dropdown {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 50;
  margin-top: .5rem;
  width: 100%;
  /* min-width: 26rem;
  max-width: 46rem; */
  border-radius: .25rem;
  /* background: #1f2732; */
  /* color: #FFF; */
  background-color: var(--body-background);
  color: var(--font-color);
  font-size: 0.875rem;
  line-height: 1.25rem;
  /* --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); */
}

.notification-header {
  padding: 0.75rem;
  border-bottom: 1px solid #c8e0ed;
}

.notification-header span {
  font-weight: 600;
  /* color: #FFF; */
}

.notification-header button {
  font-size: 0.75rem;
  line-height: 1rem;
  /* color: #FFF; */
}

.notification-body {
  /* max-height: 16rem; */
  overflow-y: auto;
  /* color: #FFF; */
}

.notification-content {
  padding: 10px 12px;
  border-bottom: 1px solid #c8e0ed;
  cursor: pointer;
}

.notification-content:hover {
  /* background: #2e394a; */
  background: #c8e0ed;
}

.notification-body p {
  /* color: #9ca3af; */
  margin: 0;
}

.notification-content p:nth-child(1) {
  font-size: 12px;
  text-align: right;
}

/* Avatar */
.avatar-container {
  position: relative;
}

.avatar-button {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 10rem;
  background: #91afb7;
  color: #3f646e;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.avatar-dropdown {
  position: absolute;
  right: 0;
  z-index: 50;
  margin-top: .5rem;
  min-width: 8rem;
  max-width: 10rem;
  overflow: hidden;
  border-radius: .25rem;
  background: #1f2732;
  color: #FFF;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.avatar-dropdown > * {
  width: 100%;
  padding: .5rem 1rem;
  text-align: left;
  color: #FFF;
}

.avatar-dropdown > *:hover {
  background: #405b62;
}

/* Dashboard */
.client-project-card {
  background: #FFF;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid #bbc8da;
}

.task-status,
.client-name > button {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.control-buttons button {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--primary-color);
  padding: .1rem .3rem;
}

.control-buttons button:hover {
  background: var(--secondary-color);
}

.client-project-card .project-lists {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.client-project-card .project-lists:not(:empty ) {
  margin-top: 1rem;
}

.client-project-card .project-item {
  cursor: pointer;
  border-radius: .25rem;
  border: 1px solid #ecede8;
  padding: 0.75rem;
  transition: .2s ease-in all;
}

.client-project-card .project-item:hover {
  background: #c8e0ed;
  border-color: var(--primary-color);
}

.client-project-card .project-item span {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.count {
  color: #7f7f7f;
}

.client-project-card .project-lists .add-new {
  border-radius: 0.25rem;
  padding: .25rem .75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  border: 1px solid var(--font-color);
  width: fit-content;
}

.client-project-card .project-lists .add-new:hover {
  background: var(--font-color);
  color: #fff;
}

.client-space-settings > * {
  width: 50%;
}

.color-picker {
  display: flex;
  flex-direction: column;
}

.color-picker input {
  padding: 0;
  width: 5rem;
  height: 2rem;
}

.space-user-settings {
  padding: 1rem;
  background: #d7e6eb;
  border-radius: .5rem;
  flex-direction: column;
}

.space-user-list {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.space-user-list > div {
  cursor: pointer;
  margin-bottom: .25rem;
  padding: 0 .5rem;
  border-radius: .25rem;
}

.space-user-list > div:hover {
  background: #a4c2ce;
}

.popup-overlay {
  position: fixed;
  inset: 0px;
  z-index: 50;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  background-color: rgb(0 0 0 / 0.5);
  --tw-backdrop-blur: blur(2px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
    backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.popup-close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  color: var(--font-color);
  font-size: 1.5rem;
  padding: 0 .5rem .1rem;
  border-radius: 5rem;
  background: #dce4e6;
  line-height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
}

.popup-close:hover {
  background: var(--font-color);
  color: #FFF;
}

.popup-container {
  position: relative;
  border-radius: 0.5rem;
  background-color: #effafe;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 60rem;
}

.popup-small {
  max-width: 30rem;
}

.popup-container .h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.popup-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Tasks */

#createTaskForm {
  overflow-x: auto;
}

#taskList {
  margin: 0;
  padding: 0;
}

.tasks-by-status {
  margin-bottom: 2rem;
}

.tasks-by-status > button {
  margin-bottom: 1rem;
}

.task-list {
  background: #FFF;
  overflow-x: auto;
  border-radius: 0.5rem;
  border: 1px solid #d9e4e8;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.task-list thead {
  text-align: left;
}

.task-list tr {
  transition: .1s ease-in all;
  border-bottom: 1px solid #d9e4e8;
}

.task-list tbody tr:hover {
  background-color: #c8e0ed;
}

.task-list th {
  color: #74939b;
  font-weight: 600;
}

.task-list td {
  cursor: pointer;
}

.task-list th,
.task-list td {
  width: 8rem;;
  max-width: 8rem;
  min-width: 8rem;
  padding: .5rem .75rem;
}

.task-list th:nth-child(1),
.task-list td:nth-child(1) {
  max-width: 67cqw;
  width: 100%;
  min-width: calc(100% - (8rem * 4));
}

td.task-due {
  font-size: .75rem;
}

.due-today {
  color: #de9600;
}

.due-passed {
  color: #de004e;
}

.assignee-avatar {
  width: 1.8rem;
  height: 1.8rem;
  background: #91afb7;
  border-radius: 2rem;
  font-size: .7rem;
  font-weight: 600;
}

.task-popup {
  min-height: 60vh;
  max-height: 80vh;
  max-width: 80rem;
  gap: 3rem;
  flex-direction: row;
}

/* .task-popup > div {
  padding-right: 1rem;
} */

.task-popup > div:nth-child(1) {
  width: 100%;
  overflow: auto;
}

.task-popup > div:nth-child(2) {
  width: 40rem;
  position: relative;
  padding-right: 0;
}

.comment-date {
  font-size: .75rem;
  padding-right: 1.5rem;
  opacity: .7;
}

.add-task-comment {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .5rem;
  background: #cce0e6;
  flex-wrap: wrap;
}

.add-task-comment button {
  margin-top: 0 !important;
}

.task-c-form {
  padding-top: 1rem;
  flex-wrap: wrap;
}

.task-c-form > div {
  width: calc(50% - .5rem);;
}

#timeLogSection {
  position: relative;
}

#loggedTimes {
  position: absolute;
  padding: 1rem;
  background: #d7e5eb;
  width: 22rem;
  right: 0;
  border-radius: .25rem;
  font-size: .9rem;
  box-shadow: 0px 4px 5px 2px rgb(126 143 151 / 59%);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

#loggedTimes > div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: .4rem;
  border: 1px solid #81b1bf;
  border-radius: .25rem;
  font-size: .8rem;
}

#loggedTimes > div span:nth-child(1) {
  width: 60%;
  font-weight: 600;
}

#loggedTimes > div span:nth-child(2) {
  width: 30%;
  text-align: right;
}

#loggedTimes > div span:nth-child(3) {
  font-size: .7rem;
  font-style: italic;
  padding-top: .2rem;
}

.show-timelogs {
  padding: .1rem .2rem;
  font-size: .8rem;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  width: fit-content;
  border-radius: .25rem;
  margin-top: .25rem;
  cursor: pointer;
}

.task-comments-container,
.task-attachment-container {
  border-radius: .25rem;
  padding: 1rem .75rem .75rem;
  background-color: #d7e6eb;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.task-comments-container h4,
.task-attachment-container h4 {
  margin: 0 0 1rem;
}

.task-attachments {
  flex-direction: column;
  margin-bottom: .5rem;
}

.task-attachments > div {
  padding: .5rem;
  border: 1px solid #81b1bf;
  border-radius: .25rem;
  font-size: .85rem;
  font-weight: 600;
}

.task-comments {
  overflow-x: auto;
  height: 100%;
  padding-bottom: 10rem;
  padding-right: 1rem;
}

.task-comment {
  padding: .5rem;
  flex-wrap: wrap;
  border: 1px solid #81b1bf;
  background: #cce0e6;
  border-radius: .25rem;
  font-size: .85rem;
  margin-bottom: 1rem;
  position: relative;
}

.task-comment > div {
  width: 100%;
}

.task-comment-content {
  padding-top: .5rem;
}

.comment-tag {
  color: #8f009e;
  font-weight: 600;
}

.comment-delete {
  position: absolute;
  top: .3rem;
  right: 0;
}

#uploadForm .button {
  margin-top: 0;
}

form label,
.form label,
.label {
  font-weight: 600;
  font-size: .8rem;
  margin-bottom: .1rem;
}

input,
select,
textarea {
  font-family: inherit;
  border: 1px solid #94aab2;
  border-radius: 0.25rem;
  width: 100%;
  background-color: transparent;
  padding: .65rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #20252d;
  color: inherit;
}

.urgency-medium {
  /* background: #D6EADF; */
  color: #20252d;
  padding: .1rem .2rem;
  border-radius: .25rem;
}

.urgency-high {
  background: #ffeec9;
  color: #febc3d;
  padding: .1rem .2rem;
  border-radius: .25rem;
}

.urgency-critical {
  color: #DE5046;
  background: #ffdbd8;
  padding: .1rem .2rem;
  border-radius: .25rem;
}

/* Login */
.content-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  background: #FFF;
  border: 1px solid #d9e4e8;
  width: 100%;
  max-width: 28rem;
  border-radius: 0.5rem;
  padding: 2rem;
}

.login-container h1 {
  margin: 1rem 0 2rem;
}

.new-invoice {
  max-width: 36rem;
  padding: 1rem;
  border-radius: .5rem;
  background: #FFF;
  border: 1px solid #d9e4e8;
  width: 100%;
}

/* View invoices */
.invoice-page {
  background: #fff;
}

.invoice-header {
  background-color: #effbff;
  font-size: 14px;
  padding-left: 3rem;
  padding-right: 3rem;
}

.invoice-header > div:nth-child(1) {
  margin-bottom: 2.5rem;
  margin-left: auto;
  margin-right: auto;
}

.invoice-header > div:nth-child(2) {
  padding-bottom: 2.5rem;
  margin-left: auto;
  margin-right: auto;
}

.invoice-logo {
  background-color: #132490;
  color: #fff;
  font-size: 20px;
  text-align: center;
  text-transform: uppercase;
  padding: 10px 10px 0;
  font-weight: 500;
  width: 160px;
}

.invoice-logo img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.invoice-number {
  padding-right: 1.5rem;
}

.invoice-body {
  padding: 2rem 3rem 2rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.invoice-body table {
  table-layout: auto;
}

.invoice-body table th {
  padding: 0 2rem .75rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.invoice-body table th:nth-child(1) {
  text-align: left;
}

.invoice-body table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.invoice-body table td:nth-child(1) {
  padding-left: 2rem;
  text-transform: capitalize;
  text-align: left;
  width: 55%;
}

.invoice-totals {
  padding-left: 3rem;
  padding-right: 3rem;
}

.discount-input {
  margin-left: auto;
  margin-right: auto;
  padding: .5rem 2rem .5rem .5rem;
  font-size: 18px;
  text-align: right;
  font-weight: 600;
  color: #e66953;
  margin-top: -30px;
}

.discount-input input {
  width: 7rem;
  border: 0;
  padding: .5rem;
  text-align: center;
  margin-left: .8rem;
}

.invoice_discount {
  background-color: #effbff;
  width: 50px;
  text-align: right;
}

.invoice-total {
  margin-left: auto;
  margin-right: auto;
  padding: .8rem 2rem .8rem .5rem;
  background-color: #effbff;
  font-size: 28px;
  text-align: right;
  font-weight: 700;
}

.invoice-total > span:nth-child(1) {
  padding-right: .8rem;
}

.invoice-footer {
  padding: 3rem 3.5rem 0;
  font-size: 14px;
}

.invoice-thanks {
  padding: 1.5rem 2rem 0 0;
}

.invoice-header p,
.invoice-footer p {
  margin: 0;
  line-height: 1.4rem;
}

.invoice-list {
  background: #FFF;
  overflow-x: auto;
  border-radius: 0.5rem;
  border: 1px solid #d9e4e8;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.invoice-list th,
.invoice-list td {
  width: 8rem;
  max-width: 8rem;
  min-width: 8rem;
  padding: .5rem .75rem;
}

.invoice-list th {
  color: #74939b;
  font-weight: 600;
  text-align: left;
}

.invoice-list tr {
  transition: .1s ease-in all;
  border-bottom: 1px solid #d9e4e8;
  cursor: pointer;
}

.invoice-list tbody tr:hover {
  background-color: #c8e0ed;
}

.floating-buttons {
  position: fixed;
  right: 0;
  bottom: 0;
  padding: 2rem;
}

.message-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.4s ease;
  color: #000;
}

.message-bar.success {
  background-color: #85d1a1;
}

.message-bar.error {
  background-color: #d97a7a;
}

.message-bar.warning {
  background-color: #eed988;
  color: #1e1e1e;
}

.message-bar.hidden {
  display: none;
}

.side-navigation {
  transition: .2s ease-in all;
}

.toggle-menu {
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  background: #18298f;
  border-radius: 3rem;
  box-shadow: 0px 4px 5px 1px rgb(159 159 159);
  z-index: 40;
}

.toggle-menu svg {
  width: 1.6rem;
  height: 1.6rem;
}

@media screen and (max-width: 749px) {
  .login {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hide-mobile {
    display: none !important;
  }

  .side-navigation {
    position: absolute;
    z-index: 9;
    background: #effafd;
    top: 0;
    bottom: 0;
    width: 100vw;
    overflow: scroll;
    padding-bottom: 4rem;
  }

  body:not(.menu-opened) .side-navigation {
    transform: translate3d(-27rem, 0px, 0px);
  }

  .logo {
    font-size: .6rem;
    line-height: 1.1rem;
  }

  .logo strong {
    display: block;
    font-size: 1.2rem;
  }

  .breadcrumb {
    font-size: .8rem;
  }

  .popup-overlay {
    padding: 0;
    align-items: baseline;
  }

  .popup-container {
    overflow: auto;
  }

  .popup-close {
    right: 1rem;
    top: 1rem;
    position: fixed;
  }

  .client-space-settings,
  .task-popup {
    flex-direction: column;
  }

  .client-space-settings > *,
  .task-c-form > div:nth-child(3),
  .task-c-form > div:nth-child(4),
  .task-popup > div:nth-child(2) {
    width: 100%;
  }

  .popup-active,
  .popup-active body {
    overflow: hidden !important;
  }

  .task-popup > div:nth-child(1) {
    overflow: initial;
  }

  .task-popup {
    min-height: 100vh;
  }
}

@media screen and (min-width: 750px) {
  .toggle-menu {
    display: none;
  }
}

@media print {
  html,
  body,
  main {
    padding: 0;
    margin: 0;
    overflow: auto;
  }

  header.header,
  .side-navigation,
  .floating-buttons {
    display: none;
  }
}