.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
}

.new-contract {
  text-align: center;
  font-weight: 700;
  background-color: #f1f1f1;
}

.modal {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

@keyframes modal {
  from {
    top: -100px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

.modal-content {
  width: 400px;
  position: relative;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  background-color: #fff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation-name: modal;
  animation-duration: 0.4s;
}

.modal-content__text {
  margin: 0;
  text-align: center;
  color: #80868e;
  font: 700 14px "OpenSans-Bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.modal-content__input-wrapper {
  max-width: 100%;
  width: 100%;
}

.modal-content__buttons {
  margin-top: 20px;
  display: flex;
  gap: 30px;
}

.contract-name-label,
.contract-date-label {
  display: block;
  margin-top: 10px;
  color: #a3a9b1;
  font: 12px/14px "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.select-1c,
.customer-select,
.contract-user-select,
.contract-name-input,
.contract-date-input {
  display: block;
  margin-top: 5px;
  box-sizing: border-box;
  align-self: flex-start;
  padding: 10px 9px;
  min-height: 39px;
  max-width: 100%;
  width: 100%;
  outline: 0;
  border: 1px solid #c4c7cc;
  border-radius: 1px;
  background-color: #fff;
  color: #424956;
  font: 15px/17px "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: 220ms all ease;
}

.modal-content__button-confirm,
.modal-content__button-decline {
  min-width: 100px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 20px;
  outline: none;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font: 700 12px "OpenSans-Bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  height: 39px;
  color: #535c69;
  border: 1px solid #bbed21;
  border-radius: 2px;
  background-color: #bbed21;
  box-shadow: none;
  text-shadow: none;
  cursor: pointer;
  transition: 160ms background-color linear, 160ms color linear,
    160ms opacity linear, 160ms border-color linear;
}

.modal-content__button-confirm:hover {
  background-color: #d2f95f;
}

.modal-content__button-confirm:active {
  background-color: #b2e232;
}

.modal-content__button-decline {
  background: 0;
  border: none;
}

.modal-content__button-decline:hover {
  color: #80868e;
}

.modal-content__button-decline:active {
  color: #535c69;
}

.buttons-wrapper {
  display: flex;
  gap: 20px;
  color: #535c69;
  align-items: center;
}

.new-contract-button:hover,
.refresh-contracts-button:hover {
  color: #a3a9b1;
  cursor: pointer;
}

.refresh-contracts-image {
  display: none;
  width: 10px;
  margin-left: 5px;
  margin-bottom: -1px;
}

.input-warning {
  display: block;
  font-size: 11px;
  color: #ff5752;
}

.warning {
  border-color: #ff5752;
}

.contract-name,
.contract-date,
.company-title {
  display: none;
}

/*******************************/

.invoice-form-select {
  margin-top: 5px;
}

.invoice-warning-wrapper {
  padding-top: 10px;
  text-align: center;
}

.invoice-warning {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.invoice-warning-text {
  font-weight: 600;
}

.contract-button {
  color: #2067b0;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.contract-button:hover {
  border-bottom: 1px solid #2067b0;
}

.exist-contracts,
.typical-contracts,
.users-contracts {
  text-align: left;
}

.active {
  border-bottom: 1px solid #2067b0;
}

label.required:after {
  color: red;
  content: " *";
}
