* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #000000;
  background-color: #ffffff;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

.task-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  z-index: 1000;
}
.task-intro__card {
  max-width: 600px;
  padding: 18px 28px;
  border: 1px solid #000000;
  border-radius: 10px;
}
.task-intro__text {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 1em;
}
.task-intro__text:last-of-type {
  margin-bottom: 1.5em;
}
.task-intro__text strong {
  font-weight: 700;
}
.task-intro__text em {
  font-style: italic;
}
.task-intro__text--bold {
  font-weight: 700;
}
.task-intro__start-btn {
  display: block;
  margin: 0 auto;
  padding: 12px 24px;
  font-size: 17px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 10px;
  transition: opacity 0.2s;
}
.task-intro__start-btn:hover {
  opacity: 0.9;
}

.invoice-page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 220px;
  height: fit-content;
  background-color: #959595;
  padding: 20px 22px;
  border-radius: 0 34px 34px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: fixed;
  left: 0;
  top: 0;
}
.sidebar__logo {
  font-size: 24px;
  font-weight: 400;
}
.sidebar__nav {
  flex: 1;
}
.sidebar__section {
  margin-bottom: 20px;
}
.sidebar__section-header {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}
.sidebar__section-title {
  font-size: 18px;
}
.sidebar__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  background-color: #000000;
  color: #ffffff;
  font-size: 8px;
  border-radius: 6px;
}
.sidebar__arrow {
  margin-left: 4px;
  font-size: 12px;
}
.sidebar__external-icon {
  font-size: 12px;
}
.sidebar__menu {
  padding-left: 18px;
}
.sidebar__menu-item {
  font-size: 18px;
  margin-bottom: 6px;
  cursor: pointer;
}
.sidebar__menu-item:hover {
  opacity: 0.8;
}
.sidebar__submenu {
  padding-left: 15px;
  margin-top: 8px;
}
.sidebar__submenu-item {
  font-size: 14px;
  margin-bottom: 8px;
  cursor: pointer;
}
.sidebar__submenu-item:hover {
  opacity: 0.8;
}
.sidebar__submenu-item--active {
  font-weight: 700;
}
.sidebar__user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar__user-avatar {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #000000;
  border-radius: 63px;
  font-size: 18px;
}
.sidebar__user-name {
  font-size: 18px;
}

.main-content {
  flex: 1;
  margin-left: 270px;
  padding: 40px 50px;
  display: grid;
  grid-template-columns: 1fr auto 320px;
  gap: 30px;
  position: relative;
}
.main-content__divider {
  width: 1px;
  background-color: #000000;
  height: 100%;
  min-height: calc(100vh - 80px);
}

.invoice-header {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 24px;
}
.invoice-header__title {
  font-size: 42px;
  font-weight: 400;
}
.invoice-header__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.invoice-header__number {
  font-size: 17px;
}
.invoice-header__date {
  font-size: 17px;
}
.invoice-header__date-edit {
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #828282;
}
.invoice-header__date-edit:hover {
  color: #000000;
}

.invoice-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.invoice-preview__logo {
  width: 90px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  color: #ffffff;
  font-size: 17px;
  border-radius: 26px;
}
.invoice-preview__title-section {
  margin-top: 40px;
}
.invoice-preview__title-input {
  width: 220px;
  font-size: 32px;
  color: #000000;
  background: transparent;
}
.invoice-preview__title-input::placeholder {
  color: #000000;
}
.invoice-preview__title-underline {
  width: 220px;
  height: 1px;
  background-color: #000000;
  margin-top: 10px;
}
.invoice-preview__contacts {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 16px;
  max-width: 800px;
}
.invoice-preview__from {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.invoice-preview__sender {
  font-size: 17px;
  line-height: 1.4;
}
.invoice-preview__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
}
.invoice-preview__client {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.invoice-preview__client-info {
  font-size: 17px;
  line-height: 1.4;
}
.invoice-preview__client-info .link-btn {
  margin-top: 12px;
}

.invoice-table {
  margin-top: 30px;
  width: 100%;
  max-width: 800px;
}
.invoice-table__header {
  display: grid;
  grid-template-columns: 2fr 100px 140px 80px;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid #000000;
}
.invoice-table__header--flat {
  grid-template-columns: 1fr 100px;
}
.invoice-table__col {
  transition: opacity 0.2s ease;
}
.invoice-table__col--days, .invoice-table__col--pricing {
  text-align: center;
}
.invoice-table__col--total {
  text-align: right;
}
.invoice-table__col.is-disabled {
  opacity: 0.35;
}
.invoice-table__body {
  min-height: 80px;
  padding: 16px 0;
}
.invoice-table__actions {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
}
.invoice-table__divider {
  height: 1px;
  background-color: #e7e7e7;
  margin: 16px 0;
}
.invoice-table__totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.invoice-table__total-row {
  display: flex;
  align-items: center;
  font-size: 17px;
}
.invoice-table__total-value {
  margin-left: auto;
}
.invoice-table__vat-rate {
  margin-left: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.invoice-table__vat-underline {
  width: 34px;
  height: 1px;
  background-color: #000000;
  margin-top: 4px;
}
.invoice-table__footer {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.invoice-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.invoice-item__header {
  display: grid;
  grid-template-columns: 2fr 100px 140px 80px;
  gap: 16px;
  align-items: center;
}
.invoice-item__header--flat {
  grid-template-columns: 1fr 100px;
}
.invoice-item__title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.invoice-item__name {
  font-size: 16px;
  font-weight: 700;
}
.invoice-item__name-input {
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-bottom: 1px solid transparent;
  background: transparent;
  padding: 4px 0;
  flex: 1;
}
.invoice-item__name-input:hover, .invoice-item__name-input:focus {
  border-bottom-color: #b2b2b2;
  outline: none;
}
.invoice-item__delete {
  font-size: 12px;
  color: #828282;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 4px 8px;
}
.invoice-item__delete:hover {
  color: #000000;
}
.invoice-item__days-input, .invoice-item__price-input {
  font-size: 15px;
  border: none;
  border-bottom: 1px solid #b2b2b2;
  background: transparent;
  padding: 6px 4px;
  width: 100%;
  text-align: center;
  -moz-appearance: textfield;
}
.invoice-item__days-input:hover, .invoice-item__days-input:focus, .invoice-item__price-input:hover, .invoice-item__price-input:focus {
  border-bottom-color: #000000;
  outline: none;
}
.invoice-item__days-input::-webkit-inner-spin-button, .invoice-item__days-input::-webkit-outer-spin-button, .invoice-item__price-input::-webkit-inner-spin-button, .invoice-item__price-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.invoice-item__days-input.is-disabled, .invoice-item__price-input.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  border-bottom-color: transparent;
}
.invoice-item__total {
  font-size: 16px;
  text-align: right;
  font-weight: 500;
}
.invoice-item__total-input {
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-bottom: 1px solid #b2b2b2;
  background: transparent;
  padding: 6px 4px;
  width: 100%;
  text-align: right;
  -moz-appearance: textfield;
}
.invoice-item__total-input:hover, .invoice-item__total-input:focus {
  border-bottom-color: #000000;
  outline: none;
}
.invoice-item__total-input::-webkit-inner-spin-button, .invoice-item__total-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.invoice-item__total-input.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  border-bottom-color: transparent;
}
.invoice-item__details {
  margin-top: 12px;
  margin-left: 0;
}
.invoice-item__desc-input {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #b2b2b2;
  border-radius: 6px;
  background: #ffffff;
  resize: vertical;
}
.invoice-item__desc-input:hover {
  border-color: #999999;
}
.invoice-item__desc-input:focus {
  border-color: #000000;
  outline: none;
}
.invoice-item__desc-input::placeholder {
  color: #989898;
}
.invoice-item__detail-line {
  font-size: 14px;
  margin-bottom: 4px;
}
.invoice-item__add-details {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #989898;
  margin-top: 8px;
  cursor: pointer;
}
.invoice-item__price {
  font-size: 17px;
  text-align: right;
}
.invoice-item--category .invoice-item__header {
  grid-template-columns: 1fr;
}

.invoice-settings {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.settings-date {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.settings-date__value {
  font-size: 15px;
  font-weight: 500;
}
.settings-date__edit {
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #828282;
}
.settings-date__edit:hover {
  color: #000000;
}

.settings-section__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.settings-section__title {
  font-size: 24px;
  font-weight: 400;
}
.settings-section__help {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000000;
  border-radius: 63px;
  font-size: 18px;
}

.settings-divider {
  height: 1px;
  background-color: #c5c5c5;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.radio-group__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  cursor: pointer;
}
.radio-group__option input {
  display: none;
}
.radio-group__custom {
  width: 18px;
  height: 18px;
  border: 1px solid #000000;
  border-radius: 50%;
  position: relative;
}
.radio-group__custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #000000;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}
.radio-group__option input:checked + .radio-group__custom::after {
  opacity: 1;
}
.radio-group__label {
  font-size: 17px;
}
.radio-group__label--muted {
  color: rgba(0, 0, 0, 0.55);
}

.toggle-group {
  display: inline-flex;
  border: 1px solid #000000;
  border-radius: 34px;
}
.toggle-group__btn {
  padding: 2px 8px;
  font-size: 17px;
  border-radius: 63px;
  transition: all 0.2s;
}
.toggle-group__btn--active {
  border: 1px solid #000000;
}

.form-group {
  margin-bottom: 18px;
}
.form-group--inline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.form-group--row {
  display: flex;
  gap: 16px;
}
.form-group--row .form-group {
  flex: 1;
}
.form-group__label {
  display: block;
  font-size: 17px;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 10px;
}
.form-group__input {
  width: 100%;
  padding: 4px 0;
  font-size: 17px;
  border-bottom: 1px solid #000000;
  color: rgba(0, 0, 0, 0.55);
}
.form-group__input::placeholder {
  color: rgba(0, 0, 0, 0.55);
}
.form-group__input--small {
  width: 45px;
}
.form-group__textarea {
  width: 100%;
  min-height: 70px;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #b2b2b2;
  border-radius: 10px;
  resize: vertical;
}

.dropdown {
  position: relative;
}
.dropdown--small .dropdown__trigger {
  width: auto;
  min-width: 80px;
}
.dropdown--full {
  width: 100%;
}
.dropdown--full .dropdown__trigger {
  width: 100%;
}
.dropdown__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 0;
  font-size: 17px;
  color: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid #000000;
  cursor: pointer;
  width: 200px;
  text-align: left;
}
.dropdown__arrow {
  font-size: 10px;
  transition: transform 0.2s;
}
.dropdown.is-open .dropdown__arrow {
  transform: rotate(180deg);
}
.dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: 200px;
  background-color: #ffffff;
  border: 1px solid #000000;
  border-top: none;
  display: none;
  z-index: 100;
}
.dropdown.is-open .dropdown__menu {
  display: block;
}
.dropdown__search {
  width: 100%;
  padding: 8px;
  font-size: 17px;
  color: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.dropdown__search::placeholder {
  color: rgba(0, 0, 0, 0.55);
}
.dropdown__add-new {
  display: block;
  width: 100%;
  padding: 8px;
  font-size: 17px;
  color: rgba(0, 0, 0, 0.55);
  text-align: left;
}
.dropdown__add-new:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.dropdown__divider {
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
  margin: 4px 8px;
}
.dropdown__list {
  max-height: 200px;
  overflow-y: auto;
}
.dropdown__item {
  padding: 8px;
  font-size: 17px;
  cursor: pointer;
}
.dropdown__item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.btn {
  padding: 8px 12px;
  font-size: 17px;
  border-radius: 10px;
  transition: opacity 0.2s;
}
.btn:hover {
  opacity: 0.9;
}
.btn--primary {
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}
.btn--primary.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.btn--secondary {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #000000;
}
.btn--outline {
  background-color: transparent;
  color: #989898;
  border: 1px solid #b2b2b2;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
}

.link-btn {
  font-size: 11px;
  color: #828282;
  background: none;
  border: none;
  cursor: pointer;
}
.link-btn:hover {
  text-decoration: underline;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal__content {
  position: relative;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 420px;
}
.modal__content--form {
  text-align: left;
  width: 100%;
}
.modal__title {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
}
.modal__text {
  font-size: 17px;
  margin-bottom: 12px;
}
.modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

.is-hidden {
  display: none !important;
}

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