@charset "UTF-8";

.post-password-form {
  margin: 24px 0 40px;
  padding: 0;
  background: none;
  border: none;
}

.post-password-form p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
}

.post-password-form label {
  display: inline;
  font-weight: 500;
}

.post-password-form input[type="password"] {
  display: inline-block;
  box-sizing: border-box;
  width: 280px !important;
  max-width: 280px !important;
  min-height: 48px;
  padding: 0 16px;
  font-size: 16px;
  color: #222;
  background: #fff;
  border: 1px solid #222;
  border-radius: 31px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.post-password-form input[type="password"]:focus {
  border-color: #f7d23c;
}

.post-password-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #222;
  cursor: pointer;
  background: #f7d23c;
  border: none;
  border-radius: 31px;
  transition: background 0.3s ease-in-out;
  -webkit-appearance: none;
  appearance: none;
}

.post-password-form input[type="submit"]:hover {
  background: #222;
  color: #fff;
}

.post-password-form-invalid-password {
  margin: 0 0 16px;
  color: #c00;
}

@media (max-width: 999px) {
  .post-password-form p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .post-password-form label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .post-password-form input[type="password"] {
    width: 280px !important;
    max-width: 100% !important;
  }
}
