/* The lock screen shared by the Dictionary and Translator. */
.access-locked {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f5f8f7;
}

.lock-screen {
  box-sizing: border-box;
  width: min(calc(100% - 48px), 430px);
  margin: auto;
  color: #19272a;
  font-family: "TLI Western Punctuation", "Tangliengim Hangul", "TLI Noto Sans", "Noto Sans", Arial, sans-serif;
}

.lock-panel {
  padding: clamp(24px, 6vw, 38px);
  border: 1px solid #ccdae0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(25, 39, 42, 0.07);
}

.lock-note {
  margin: 0 0 18px;
  color: #5d6c70;
  font-size: 0.95rem;
  line-height: 1.55;
}

.access-form {
  display: grid;
  gap: 9px;
}

.access-form label {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 750;
}

.access-form input {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #b9c6d6;
  border-radius: 7px;
  background: #ffffff;
  color: #19272a;
  font: inherit;
  outline: none;
}

.access-form input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.access-form input[aria-invalid="true"] {
  border-color: #c2410c;
}

.access-form .access-show {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 28px;
  color: #5d6c70;
  cursor: pointer;
  font-weight: 400;
}

.access-form .access-show input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0a7180;
  cursor: pointer;
}

.access-form button {
  min-height: 44px;
  margin-top: 4px;
  border: 1px solid #0a7180;
  border-radius: 7px;
  background: #0a7180;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.access-form button:hover,
.access-form button:focus-visible {
  background: #085764;
  outline: none;
}

.access-form button:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.access-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.access-error {
  min-height: 1.25em;
  margin: 2px 0 0;
  color: #9a3412;
  font-size: 0.86rem;
}

/* The small "Lock" link inside each unlocked tool. */
.access-lock-button {
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #5d6c70;
  cursor: pointer;
  font: inherit;
}

.access-lock-button:hover,
.access-lock-button:focus-visible {
  border-bottom-color: currentColor;
  color: #085764;
  outline: none;
}

@media (max-width: 720px) {
  .lock-screen {
    width: min(calc(100% - 36px), 430px);
    margin: 24px auto;
  }
}
