.site-header,
.footer {
  display: none !important;
}

.main-content.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #fff;
}

.login-card {
  width: 100%;
  max-width: 400px;
  padding: 20px 24px 28px;
  border: 1px solid #e0e0e2;
  border-radius: 8px;
  background: #fff;
}

.login-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  margin-bottom: 28px;
  direction: ltr;
}

.login-logo {
  display: flex;
  align-items: center;
  max-width: 148px;
}

.login-logo img {
  display: block;
  /*max-height: 28px;*/
  width: auto;
}

.login-back {
  display: grid;
  width: 32px;
  height: 32px;
  color: #0c0c0c;
  place-items: center;
  border-radius: 8px;
}

.login-back:hover {
  color: var(--digiran-secondary);
  background: rgba(217, 47, 104, 0.06);
}

.login-back svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.login-title {
  margin: 0 0 10px;
  color: #0c0c0c;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
}

.login-title.is-center {
  text-align: center;
}

.login-subtitle {
  margin: 0 0 22px;
  color: #81858b;
  font-size: 0.82rem;
  line-height: 1.9;
}

.login-subtitle.is-center {
  text-align: center;
}

.login-error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid #f4c7d0;
  border-radius: 8px;
  background: #fff5f7;
  color: var(--digiran-secondary);
  font-size: 0.78rem;
  line-height: 1.8;
}

.login-field {
  position: relative;
  margin-bottom: 16px;
}

.login-field input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid #c0c2c5;
  border-radius: 8px;
  background: #fff;
  color: #0c0c0c;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 52px;
}

.login-field.is-password input {
  padding-left: 44px;
}

.login-field input:focus {
  border-color: #0c0c0c;
  outline: none;
  box-shadow: none;
}

.login-field.is-invalid input {
  border-color: var(--digiran-secondary);
}

.login-field label {
  position: absolute;
  top: 0;
  right: 12px;
  padding: 0 6px;
  background: #fff;
  color: #424750;
  font-size: 0.72rem;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.login-password-toggle {
  position: absolute;
  top: 50%;
  left: 10px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #424750;
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
}

.login-password-toggle:hover {
  color: var(--digiran-secondary);
}

.login-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 28px;
}

.login-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #19bfd3;
  font-size: 0.82rem;
  font-weight: 700;
  background: transparent;
  border: 0;
  padding: 0;
  line-height: 1.7;
  cursor: pointer;
}

.login-link:hover {
  color: #0ea5b8;
}

.login-link .chevron {
  font-size: 0.95rem;
  line-height: 1;
}

.login-timer,
.login-resend {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  color: #81858b;
  font-size: 0.78rem;
  text-align: center;
}

.login-timer[hidden],
.login-resend[hidden] {
  display: none !important;
}

.login-resend {
  border: 0;
  background: transparent;
  color: #19bfd3;
  font-weight: 700;
}

.login-resend:hover {
  color: #0ea5b8;
}

.login-submit {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--digiran-secondary);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.login-submit:hover,
.login-submit:focus {
  background: #bd2455;
  color: #fff;
}

.login-submit:disabled {
  background: #e0e0e2;
  color: #a1a3a8;
  cursor: not-allowed;
}

.login-legal {
  margin: 18px 0 0;
  color: #81858b;
  font-size: 0.72rem;
  line-height: 2;
  text-align: center;
}

.login-legal a {
  color: var(--digiran-link);
}

.login-legal a:hover {
  color: var(--digiran-secondary);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

@media (max-width: 480px) {
  .main-content.login-page {
    padding: 12px;
    align-items: flex-start;
  }

  .login-card {
    max-width: 100%;
    padding: 16px 16px 24px;
    border-color: transparent;
  }
}
