@charset "UTF-8";
h1, h2, h3, h4 {
  color: #1A1A1A;
}

h4, h5, h6 {
  color: #000000;
}

a {
  color: #861c3c;
  text-decoration: underline;
  transition: color 0.2s ease;
}
a:active {
  color: #70161D;
  text-decoration: none;
}
a:hover {
  color: #C64851;
  text-decoration: none;
}
a:focus {
  outline: 2px solid #C64851;
  outline-offset: 2px;
}

main {
  min-height: calc(100vh - 130px);
}

/* パスワードリセットページのスタイル */
/* パスワードリセットページのみグローバルナビを非表示 */
#global-nav {
  display: none !important;
}

/* パスワードリセットページでヘッダーの不要な要素を非表示 */
.modern-nav-buttons {
  display: none !important;
}

/* パスワードリセットページでフッターのcontainer部分を非表示 */
.navigation-footer {
  display: none !important;
}

/* メインのパスワードリセットページスタイル */
.password-reset-page {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F9F8EF;
  padding: 20px;
  min-height: 80vh;
}

.password-reset-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 50px;
  width: 100%;
  max-width: 450px;
}

.password-reset-header {
  text-align: center;
  margin-bottom: 40px;
}

.password-reset-header h1 {
  color: #333;
  margin-bottom: 15px;
  font-size: 32px;
  font-weight: 600;
}

.password-reset-header p {
  color: #666;
  margin: 0;
  font-size: 16px;
}

.password-reset-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-size: 14px;
}

.password-reset-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-size: 14px;
}

.password-reset-form .form-group {
  margin-bottom: 25px;
}

.input-with-icon {
  position: relative;
  width: 100%;
}

.input-with-icon input[type=email],
.input-with-icon input[type=password],
.input-with-icon input[type=text] {
  width: 100%;
  padding: 15px 15px 15px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.input-with-icon.input-with-password-toggle input[type=password],
.input-with-icon.input-with-password-toggle input[type=text] {
  padding-right: 50px;
}

.input-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 16px;
  pointer-events: none;
}

.input-with-icon input[type=email]:focus,
.input-with-icon input[type=password]:focus,
.input-with-icon input[type=text]:focus {
  outline: none;
  border-color: #861c3c;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.input-with-icon input[type=email]:focus + .input-icon,
.input-with-icon input[type=password]:focus + .input-icon {
  color: #861c3c;
}

.password-toggle,
.password-toggle-confirm {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  z-index: 1;
}
.password-toggle:hover, .password-toggle:focus,
.password-toggle-confirm:hover,
.password-toggle-confirm:focus {
  color: #861c3c;
  outline: none;
}
.password-toggle:active,
.password-toggle-confirm:active {
  transform: translateY(-50%) scale(0.95);
}
.password-toggle .password-toggle-icon,
.password-toggle-confirm .password-toggle-icon {
  font-size: 16px;
  pointer-events: none;
}

.input-with-icon input[type=password]:focus ~ .password-toggle,
.input-with-icon input[type=text]:focus ~ .password-toggle,
.input-with-icon input[type=password]:focus ~ .password-toggle-confirm,
.input-with-icon input[type=text]:focus ~ .password-toggle-confirm {
  color: #861c3c;
}

.form-text {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  display: block;
}

.password-reset-submit {
  width: 100%;
  background: #861c3c;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.password-reset-submit:hover {
  transform: translateY(-2px);
  background: #70161D;
}

.password-reset-submit:active {
  transform: translateY(0);
}

.password-reset-footer {
  text-align: center;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #e9ecef;
}

.password-reset-footer a:hover {
  text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
  .password-reset-container {
    padding: 30px 20px;
    margin: 10px;
  }
  .password-reset-header h1 {
    font-size: 28px;
  }
}
/*# sourceMappingURL=password-reset.css.map */
