@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 10px;
  background: #e8e8e8;
}

::-webkit-scrollbar-thumb {
  background: #999999;
}

body {
  display: grid;
  grid-template-rows: 60px auto;
  font-family: "Inter", sans-serif;
}

img {
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.hidden {
  display: none !important;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button,
.button {
  font-family: "Inter", sans-serif;
  font-size: 16px;
}

h1 {
  font-size: 46px;
}

a {
  text-decoration: none;
}

a:visited {
  color: black;
}

nav {
  height: 100%;
  background-color: #ececec;
  filter: drop-shadow(1px 0px 5px rgba(0, 0, 0, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-decoration_underline {
  text-decoration: underline !important;
}

.new-table {
  text-decoration: underline;
  cursor: pointer;
}

.nav {
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 95%;
}

.nav__menu {
  display: flex;
  gap: 20px;
}

.nav__item.chosen {
  font-weight: 700;
  text-decoration: underline;
}

.nav__log-out {
  font-size: 16px;
  text-decoration: underline;
}

.main {
  display: inline-block;
  margin-top: 14px;
  overflow: scroll;
  overflow-x: hidden;
  width: 100%;
}

.table-wrapper {
  display: flex;
  justify-content: center;
}

.reports__table {
  width: 95%;
  border-collapse: collapse;
  font-weight: 600;
  font-size: 16px;
}

.w-80 {
  width: 80% !important;
}

.w-90 {
  width: 90% !important;
}

.table_head {
  border-bottom: 2px outset #d9d9d9;
  background-color: #ececec;
  position: sticky;
  top: 0;
  z-index: 11;
}

.checkbox,
input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.table_row {
  height: 72px;
}

.table_row:hover {
  background-color: #f1f1f1;
}

.check {
  width: 45px;
}

.toggle {
  width: 88px;
}

.toggle-area {
  height: 32px;
  width: 65px;
  display: flex;
  border-radius: 30px;
  align-items: center;
  transition: 0.3s all;
}

.toggle-pointer {
  display: block;
  position: relative;
  height: 28px;
  width: 28px;
  background-color: white;
  border-radius: 14px;
  margin: 0px 2px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
  transition: left 0.3s;
}

.toggle-off {
  border: 0.4px solid #d9d9d9;
  background-color: #f2f2f2;
}

.toggle-off > .toggle-pointer {
  left: 0;
}

.toggle-on {
  border: 0.4px solid #04b000;
  background-color: #9fff9d;
}

.toggle-on > .toggle-pointer {
  left: 32px;
}

.day-of-week {
  width: 40px;
}

.balance {
  text-align: right;
}

.reports__control.wrapper {
  display: grid;
  justify-content: baseline;
  margin-left: 93px;
  margin-bottom: 10px;
}

.reports__control > .inner {
  display: flex;
  align-items: center;
}

.reports__control > .inner-grid {
  display: grid;
  align-items: center;
  gap: 38px;
}

.reports__search {
  width: 400px;
  height: 31px;
  display: flex;
  border: 1px solid #878787;
  box-shadow: inset -1px -1px 4px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  margin-right: 24px;
}

.search_field {
  border: 0;
  width: 371px;
  height: 20px;
  resize: none;
  background-color: rgba(0, 0, 0, 0);
  border: none;
  outline: none;
  margin-left: 5px;
  margin-top: 5px;
  overflow: hidden;
}

.search_magnifier {
  height: 20px;
  width: 20px;
  align-self: center;
  margin-right: 5px;
}

.buttons-col {
  display: grid;
  width: 193px;
  margin-right: 30px;
  gap: 15px;
}

.control-button {
  background-color: #f2f2da;
  border: none;
  height: 31px;
  border-radius: 5px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-weight: 600;
}

.control-button:active,
.button:active {
  box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.add-report {
  margin-right: 24px;
  width: 64px;
  height: 64px;
  border-radius: 32px;
  background-color: #9fff9d;
  transition: box-shadow 0.3s;
}

.cross:before {
  position: relative;
  content: "";
  display: inline-block;
  z-index: 20;
  height: 30px;
  width: 4px;
  background-color: black;
  border-radius: 10px;
  top: 17px;
  left: 30px;
}

.cross:after {
  position: relative;
  content: "";
  display: inline-block;
  z-index: 20;
  height: 4px;
  width: 30px;
  background-color: black;
  border-radius: 10px;
  top: 4px;
  left: 13px;
}

.add-report:hover {
  box-shadow: 0px -2px 3px rgba(0, 0, 0, 0.25);
}

.add-report:active {
  box-shadow: inset 0px 2px 3px rgba(0, 0, 0, 0.25);
}

.login__wrapper {
  width: 30%;
}

@media screen and (max-width: 900px) {
  .login__wrapper {
    width: 90%;
  }
}

body.login__body {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.text-align_end {
  text-align: end !important;
}

.h-50px {
  height: 50px !important;
}

.mr-30px {
  margin-right: 30px !important;
}

.mb-41px {
  margin-bottom: 41px !important;
}

.plus_green {
  display: inline-block;
  height: 24px;
  width: 24px;
  position: relative;
  top: 12px;
}

.plus_green:before {
  position: relative;
  content: "";
  display: inline-block;
  height: 4px;
  width: 24px;
  background-color: #04b000;
  bottom: 2px;
  border-radius: 4px;
}

.plus_green:after {
  position: relative;
  content: "";
  display: inline-block;
  height: 24px;
  width: 4px;
  background-color: #04b000;
  bottom: 20px;
  left: 10px;
  border-radius: 4px;
}

.cross_red {
  display: inline-block;
  height: 24px;
  width: 24px;
  transform: rotate(45deg);
  position: relative;
  top: 12px;
  cursor: pointer;
}

.cross_red:before {
  position: relative;
  content: "";
  display: inline-block;
  height: 4px;
  width: 24px;
  border-radius: 4px;
  background-color: #ff6a6a;
  bottom: 2px;
}

.cross_red:after {
  position: relative;
  content: "";
  display: inline-block;
  height: 24px;
  width: 4px;
  background-color: #ff6a6a;
  border-radius: 4px;
  bottom: 20px;
  left: 10px;
}

.w-200px {
  width: 200px !important;
}

.h-33px {
  height: 33px !important;
}

.ml-70px {
  margin-left: 70px !important;
}

.ml-22px {
  margin-left: 22px !important;
}

.ml-20px {
  margin-left: 20px !important;
}

.left-20px {
  position: relative;
  left: 20px;
}

.drop-down_checkbox {
  -webkit-appearance: none;
  display: inline-flex;
  border: 1px solid black;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

.drop-down_checkbox::before {
  display: inline-block;
  content: "";
  background-color: black;
  width: 14px;
  height: 14px;

  background: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  background-position: center;
  background-size: 100% 2px, 2px 100%; /*thickness = 2px, length = 100%*/
  background-repeat: no-repeat;
}

.drop-down_checkbox:checked::before {
  display: inline-block;
  content: "";
  background-color: black;
  width: 14px;
  height: 2px;
}

.body_cell.login {
  position: relative;
}

.body_cell.login a {
  color: black;
  text-decoration: underline;
}

td .show-agency-clients {
  position: absolute;
  left: -37px;
  bottom: 22px;
}

input[type="text"],
select {
  padding: 7px 10px;
  border: 1px solid black;
  border-radius: 5px;
  box-shadow: none;
  font-size: 14px;
}

.settings-form input[type="text"] {
  width: 300px;
}

select {
  width: 150px;
  -webkit-appearance: none;
  background-color: white;
  background: url(./img/select_arrow.svg) no-repeat right 9px bottom 10px;
}

.settings-wrapper {
  padding: 0px 73px;
}

.settings-form .login {
  font-size: 24px;
  padding-top: 10px;
}

.settings-form label {
  font-size: 12px;
  margin-left: 5px;
}

.client-settings {
  display: grid;
  width: 100%;
  grid-auto-flow: column;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(3, 58px);
  margin-bottom: 36px;
  row-gap: 10px;
}

.field-block {
  display: inline-flex;
  flex-direction: column;
}

.field-block .input-controls,
.field-block .notice-after-input {
  font-size: 10px;
}

.field-block .input-controls a {
  color: black;
  text-decoration: underline;
  margin-left: 4px;
  margin-right: 21px;
}

.report-settings .settings {
  display: none;
}

.report-settings .settings.show {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 30px;
  column-gap: 76px;
}

.report-settings {
  display: flex;
  gap: 130px;
  margin-bottom: 72px;
}

.report-settings .controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.report-settings .range {
  cursor: pointer;
}

.report-settings .range.selected {
  font-size: 16px;
  font-weight: bold;
  text-decoration: underline;
}

fieldset.vertical-checkbox-block {
  border: none;
  padding: 0;
  margin: 0;
}

.vertical-checkbox-block {
  display: grid;
  gap: 10px;
}

.vertical-checkbox-block > div {
  display: flex;
  align-items: center;
}

.vertical-checkbox-block label {
  font-size: 14px;
}

.vertical-checkbox-block legend {
  margin-bottom: 6px;
  margin-left: 5px;
}

.field-block.label-right {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.button,
a.button {
  display: inline-block;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  width: 130px;
  padding: 6px 0;
  border-radius: 5px;
  background-color: #F2F2DA;
  color: black;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border: 0;
}

.settings-form .save-controls {
  display: flex;
  gap: 55px;
}

.status-message {
  font-size: 10px;
  font-weight: 600;
}

.error-message {
  color: red;
}

.success-message {
  color: green;
}

.settings-wrapper {
  padding-bottom: 37px;
}

a.control-button {
  color: black;
  padding: 15px 5px;
}
