.profile-password-link[href^="payment.html?id="],
.profile-password-link[href*="/payment.html?id="],
.mobile-history-item .profile-password-link[href^="payment.html?id="],
.mobile-history-item .profile-password-link[href*="/payment.html?id="],
.mobile-history-item strong .profile-password-link[href^="payment.html?id="],
.mobile-history-item strong .profile-password-link[href*="/payment.html?id="],
.profile-password-link[href*="kind=additional"],
.profile-additional-payment-link,
.mobile-history-item .profile-password-link[href*="kind=additional"],
.mobile-history-item .profile-additional-payment-link,
.mobile-history-item strong .profile-password-link[href*="kind=additional"],
.mobile-history-item strong .profile-additional-payment-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 44px;
  padding: 0 18px !important;
  border: 1px solid #001f55 !important;
  border-radius: 10px;
  background: #001f55 !important;
  color: #fff !important;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 14px 28px rgba(0, 31, 85, 0.18);
}

.profile-password-link[href^="payment.html?id="]:hover,
.profile-password-link[href*="/payment.html?id="]:hover,
.mobile-history-item .profile-password-link[href^="payment.html?id="]:hover,
.mobile-history-item .profile-password-link[href*="/payment.html?id="]:hover,
.mobile-history-item strong .profile-password-link[href^="payment.html?id="]:hover,
.mobile-history-item strong .profile-password-link[href*="/payment.html?id="]:hover,
.profile-password-link[href*="kind=additional"]:hover,
.profile-additional-payment-link:hover,
.mobile-history-item .profile-password-link[href*="kind=additional"]:hover,
.mobile-history-item .profile-additional-payment-link:hover,
.mobile-history-item strong .profile-password-link[href*="kind=additional"]:hover,
.mobile-history-item strong .profile-additional-payment-link:hover {
  border-color: #123a83 !important;
  background: #123a83 !important;
  color: #fff !important;
}

.mypage-final-payment-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding: 20px 24px;
  border: 2px solid #001f55;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 31, 85, 0.08);
}

.mypage-final-payment-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.mypage-final-payment-copy span {
  color: #65738a;
  font-size: 13px;
  font-weight: 700;
}

.mypage-final-payment-copy strong {
  color: #001f55;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
}

.mypage-final-payment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 10px;
  background: #001f55;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(0, 31, 85, 0.18);
}

.mypage-final-payment-button:hover {
  background: #123a83;
  color: #fff;
}

@media (max-width: 620px) {
  .profile-password-link[href^="payment.html?id="],
  .profile-password-link[href*="/payment.html?id="],
  .profile-password-link[href*="kind=additional"],
  .profile-additional-payment-link,
  .mobile-history-item .profile-password-link[href^="payment.html?id="],
  .mobile-history-item .profile-password-link[href*="/payment.html?id="],
  .mobile-history-item .profile-password-link[href*="kind=additional"],
  .mobile-history-item .profile-additional-payment-link {
    width: fit-content;
    min-width: 96px;
    min-height: 46px;
    margin-top: 8px;
  }

  .mypage-final-payment-notice {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .mypage-final-payment-copy strong {
    font-size: 22px;
  }

  .mypage-final-payment-button {
    min-height: 50px;
  }
}
