/* ================================
   Stripe Elements 決済フォーム
   ================================ */

#my-stripe-payment-section {
    display: none;
    margin-top: 40px;
    padding: 32px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

#my-stripe-payment-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a2e;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 16px;
}

/* 注文サマリー */
#my-stripe-order-summary {
    background: #f8f9ff;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: #444;
}

#my-stripe-order-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

#my-stripe-order-summary .summary-row:last-child {
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a1a2e;
    border-top: 1px solid #e0e0f0;
    padding-top: 8px;
    margin-top: 8px;
}

/* Stripe Elements のマウント先 */
#my-stripe-payment-element {
    background: #f8f9ff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    min-height: 60px;
}

/* 送信ボタン */
#my-stripe-submit-btn {
    width: 100%;
    padding: 14px;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    letter-spacing: 0.05em;
}

#my-stripe-submit-btn:hover {
    background: #4338ca;
}

#my-stripe-submit-btn:active {
    transform: scale(0.98);
}

#my-stripe-submit-btn:disabled {
    background: #a5b4fc;
    cursor: not-allowed;
}

/* エラーメッセージ */
#my-stripe-error-message {
    color: #dc2626;
    font-size: 0.9rem;
    margin-top: 12px;
    text-align: center;
    min-height: 20px;
}

/* セキュリティバッジ */
#my-stripe-secure-badge {
    text-align: center;
    margin-top: 16px;
    font-size: 0.8rem;
    color: #888;
}

#my-stripe-secure-badge span {
    margin-left: 4px;
}

/* ローディング */
#my-stripe-loading {
    text-align: center;
    padding: 20px;
    color: #888;
    font-size: 0.9rem;
}

/* 銀行振込案内 */
#my-stripe-bank-info {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #1e40af;
    line-height: 1.7;
}
