/* =========================================================
   ACCESS MODAL
   ========================================================= */

.access-modal-overlay {
  position: fixed;
  inset: 0;

  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(20, 27, 30, 0.78);
}

.access-modal {
  position: relative;

  width: 100%;
  max-width: 235px;

  padding: 16px 24px 23px;

  background: #ffffff;

  border-radius: 4px;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.25);

  animation: modal-show 0.18s ease-out;
}

@keyframes modal-show {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.access-modal-close {
  position: absolute;

  top: 8px;
  right: 10px;

  width: 24px;
  height: 24px;

  border: 0;

  background: transparent;

  color: #777;

  font-size: 21px;
  font-weight: 300;

  line-height: 1;

  cursor: pointer;
}

.access-modal-close:hover {
  color: #333;
}

.access-modal-title {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 6px;

  margin: 4px 0 28px;

  color: #263a3f;

  font-size: 16px;
  font-weight: 700;

  white-space: nowrap;
}

.modal-logo {
  position: relative;

  display: inline-block;

  width: 27px;
  height: 34px;
}

.modal-logo::before,
.modal-logo::after {
  content: "";

  position: absolute;

  display: block;

  border-radius: 5px;
}

.modal-logo::before {
  width: 5px;
  height: 28px;

  left: 8px;
  top: 2px;

  background: #8dbb42;

  transform: rotate(25deg);
}

.modal-logo::after {
  width: 5px;
  height: 22px;

  left: 16px;
  top: 10px;

  background: #315a8a;

  transform: rotate(-25deg);
}

.access-modal-form {
  display: flex;
  flex-direction: column;

  gap: 22px;
}

.access-modal-field {
  width: 100%;
  height: 34px;

  border: 0;
  border-bottom: 1px solid #e4e4e4;

  outline: none;

  background: transparent;

  color: #333;

  font-size: 12px;
}

.access-modal-field::placeholder {
  color: #a9a9a9;
}

.access-modal-field:focus {
  border-bottom-color: var(--color-teal);
}

.access-modal-submit {
  width: 100%;
  height: 35px;

  margin-top: 7px;

  border: 0;
  border-radius: 2px;

  background: #ef5631;
  color: white;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;
}

.access-modal-submit:hover {
  background: #d94727;
}