/* ===== Password reset screen ===== */

/* box-sizing:border-box は application.css の全体リセットに統合済み */

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.pwd-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f57272;
  align-self: start;
}

.pwd-card {
  width: min(600px, 100%);
  max-width: 600px;
  min-height: min(80vh, 900px);
  background: #f7feff;
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.pwd-title {
  margin: 0 0 25px;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
}

.pwd-subtitle {
  margin: 0 0 32px;
  font-size: 20px;
  color: #666;
  text-align: center;
}

.sp-note {
  display: none;
}

.sp-text {
  display: none;
}

.pwd-field {
  margin: 0 0 24px;
  text-align: left;
}

.pwd-field label {
  display: block;
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #0e0e0e;
}

.pwd-input {
  width: 100%;
  border-radius: 12px;
  border: none;
  padding: 12px 14px;
  font-size: 20px;
  box-shadow: 0 0 0 1px #dde6ec;
  background: #ffffff;
  appearance: none;
  -webkit-appearance: none;
}

.pwd-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #ff4a1d;
}

.pwd-button {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 12px 0;
  margin-top: 8px;
  background: #e86c6c;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.pwd-button:hover {
  opacity: 0.95;
}

.pwd-foot {
  margin: 20px 0 0;
  font-size: 15px;
  color: #910505;
  text-align: center;
}

.pwd-link {
  color: rgba(0,0,0,.65);
  text-decoration: none;
  font-size: 15px;
}

.pwd-link:hover {
  text-decoration: underline;
}

/* ===== スマホ対応 ===== */
@media (max-width: 600px) {
  .pwd-card {
    width: 92%;
    padding: 40px 16px 56px;
    border-radius: 20px;
    margin-bottom: 80px;
    margin-top: -20px;
    min-height: auto;
  }

  .pwd-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .pwd-subtitle {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .pc-note {
    display: none;
  }

  .sp-note {
    display: block;
    margin-top: 6px;
  }

  .pc-text {
    display: none;
  }

  .sp-text {
    display: inline;
  }

  .pwd-field {
    margin-bottom: 16px;
  }

  .pwd-field label {
    font-size: 14px;
  }

  .pwd-input {
    font-size: 16px;
    padding: 10px 12px;
  }

  .pwd-button {
    font-size: 16px;
    padding: 12px 0;
  }

  .pwd-foot {
    font-size: 13px;
    margin-top: 16px;
  }

  .pwd-link {
    font-size: 13px;
  }
}