/* === PROJECT DETAIL PAGE === */
.detail-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 3rem;
    font-family: 'Inter', sans-serif;
}

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: color 0.15s;
}

.detail-back:hover { color: #2563eb; }

/* ===== MAIN LAYOUT (2 colonnes persistantes) ===== */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.detail-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

/* Chat intégré dans la colonne gauche */
.detail-left > .detail-chat-card {
    margin-top: 0;
}

/* ===== IMAGE ===== */
.detail-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.detail-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 450px;
    object-fit: cover;
}

/* ===== IMAGE CARD ===== */
.detail-image-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.detail-project-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* ===== INFO CARD ===== */
.detail-info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.detail-category {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.detail-creator {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
}

.detail-creator strong { color: #1e293b; }

.detail-description {
    color: #475569;
    font-size: 0.925rem;
    line-height: 1.7;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1.5rem;
}

/* Stats */
.detail-stats {
    display: flex;
    gap: 2rem;
}

.detail-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-stat-icon--blue { background: #eff6ff; color: #3b82f6; }
.detail-stat-icon--green { background: #f0fdf4; color: #22c55e; }
.detail-stat-icon--purple { background: #faf5ff; color: #a855f7; }

.detail-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.detail-stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ===== FUNDING CARD ===== */
.detail-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-funding-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.detail-funding-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.detail-funding-goal {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0.25rem 0 1.25rem;
}

.detail-progress {
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1.75rem;
}

.detail-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.detail-contribution-section {
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
}

.detail-contribution-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem;
}

.detail-contribution-input-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.detail-contribution-input {
    width: 100%;
    padding: 1rem 2.5rem 1rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    background: white;
    font-family: inherit;
    box-sizing: border-box;
}

.detail-contribution-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.detail-contribution-currency {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 600;
}

.detail-contribute-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.detail-contribute-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.detail-funding-info {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-funding-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

.detail-funding-info-item svg { flex-shrink: 0; margin-top: 1px; }

/* ===== REWARDS ===== */
.detail-rewards-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.detail-rewards-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1.25rem;
}

.detail-reward-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    margin-bottom: 0.75rem;
}

.detail-reward-item:last-child { margin-bottom: 0; }

.detail-reward-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f59e0b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-reward-amount {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
}

.detail-reward-desc {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 2px;
}

/* ===== CHAT ===== */
.detail-chat-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-header-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-header-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.chat-header-count {
    font-size: 0.8rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.chat-online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
}

.chat-moderator-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.chat-moderator-notice {
    background: rgba(37, 99, 235, 0.06);
    color: #2563eb;
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.chat-moderator-notice svg { flex-shrink: 0; margin-top: 1px; }

/* Messages */
.chat-messages {
    padding: 1.5rem;
    max-height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #94a3b8;
    text-align: center;
}

.chat-empty p { margin: 0.75rem 0 0; font-size: 0.875rem; }

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.chat-message--mine {
    flex-direction: row;
    justify-content: flex-end;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.chat-avatar--mine {
    background: #2563eb;
    color: white;
}

.chat-bubble-wrap {
    max-width: 70%;
}

.chat-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.chat-author {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
}

.chat-owner-badge {
    background: #eff6ff;
    color: #2563eb;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.chat-time {
    font-size: 0.7rem;
    color: #94a3b8;
}

.chat-bubble {
    background: #f1f5f9;
    color: #1e293b;
    padding: 0.75rem 1rem;
    border-radius: 12px 12px 12px 4px;
    font-size: 0.875rem;
    line-height: 1.5;
    position: relative;
}

.chat-bubble--mine {
    background: #2563eb;
    color: white;
    border-radius: 12px 12px 4px 12px;
}

.chat-delete-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    border: 2px solid white;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.15s;
}

.chat-bubble:hover .chat-delete-btn { display: flex; }
.chat-delete-btn:hover { transform: scale(1.15); }

/* Input */
.chat-input-area {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.875rem;
    font-family: inherit;
    color: #1e293b;
    background: white;
}

.chat-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

.chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.chat-login-notice {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

.chat-login-notice a { color: #2563eb; font-weight: 600; }

/* ===== SHARE BUTTONS ===== */
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
    color: #475569;
    background: white;
}

.share-btn:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.share-btn--whatsapp { color: #25d366; border-color: #25d366; }
.share-btn--whatsapp:hover { background: #25d366; color: white; }

.share-btn--linkedin { color: #0a66c2; border-color: #0a66c2; }
.share-btn--linkedin:hover { background: #0a66c2; color: white; }

.share-btn--facebook { color: #1877f2; border-color: #1877f2; }
.share-btn--facebook:hover { background: #1877f2; color: white; }

.share-btn--x { color: #0f172a; border-color: #0f172a; }
.share-btn--x:hover { background: #0f172a; color: white; }

.share-btn--email { color: #64748b; border-color: #94a3b8; }
.share-btn--email:hover { background: #64748b; color: white; }

/* Dark mode share buttons */
html[data-theme="dark"] .share-btn { background: #0f172a; border-color: #334155; color: #94a3b8; }
html[data-theme="dark"] .share-btn--whatsapp { color: #25d366; border-color: #25d366; }
html[data-theme="dark"] .share-btn--linkedin { color: #5ba3e6; border-color: #5ba3e6; }
html[data-theme="dark"] .share-btn--facebook { color: #5b9af5; border-color: #5b9af5; }
html[data-theme="dark"] .share-btn--x { color: #e2e8f0; border-color: #e2e8f0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .detail-funding-card { position: static; }
    .detail-stats { flex-wrap: wrap; }
}

/* ============================================================
   DARK MODE
   ============================================================ */
html[data-theme="dark"] .detail-back { color: #94a3b8; }
html[data-theme="dark"] .detail-back:hover { color: #60a5fa; }

html[data-theme="dark"] .detail-image-card {
    border-color: #334155;
}

html[data-theme="dark"] .detail-info-card,
html[data-theme="dark"] .detail-funding-card,
html[data-theme="dark"] .detail-rewards-card,
html[data-theme="dark"] .detail-chat-card {
    background: #1e293b;
    border-color: #334155;
}

html[data-theme="dark"] .detail-title { color: #f1f5f9; }
html[data-theme="dark"] .detail-creator { color: #94a3b8; }
html[data-theme="dark"] .detail-creator strong { color: #e2e8f0; }
html[data-theme="dark"] .detail-description { color: #94a3b8; border-bottom-color: #334155; }

html[data-theme="dark"] .detail-category { background: rgba(37, 99, 235, 0.15); color: #60a5fa; }

html[data-theme="dark"] .detail-stat-value { color: #f1f5f9; }
html[data-theme="dark"] .detail-stat-icon--blue { background: rgba(59, 130, 246, 0.12); color: #60a5fa; }
html[data-theme="dark"] .detail-stat-icon--green { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
html[data-theme="dark"] .detail-stat-icon--purple { background: rgba(168, 85, 247, 0.12); color: #c084fc; }

html[data-theme="dark"] .detail-funding-amount { color: #f1f5f9; }
html[data-theme="dark"] .detail-funding-goal { color: #64748b; }
html[data-theme="dark"] .detail-progress { background: #334155; }
html[data-theme="dark"] .detail-contribution-title { color: #e2e8f0; }
html[data-theme="dark"] .detail-contribution-input { background: #0f172a; border-color: #475569; color: #f1f5f9; }
html[data-theme="dark"] .detail-contribution-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
html[data-theme="dark"] .detail-contribution-currency { color: #64748b; }
html[data-theme="dark"] .detail-contribution-section { border-top-color: #334155; }
html[data-theme="dark"] .detail-funding-info { border-top-color: #334155; }
html[data-theme="dark"] .detail-funding-info-item { color: #94a3b8; }

html[data-theme="dark"] .detail-rewards-title { color: #e2e8f0; }
html[data-theme="dark"] .detail-reward-item { background: rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.2); }
html[data-theme="dark"] .detail-reward-amount { color: #fcd34d; }
html[data-theme="dark"] .detail-reward-desc { color: #94a3b8; }

/* Chat dark */
html[data-theme="dark"] .chat-moderator-notice { background: rgba(59, 130, 246, 0.08); color: #60a5fa; }
html[data-theme="dark"] .chat-empty { color: #64748b; }
html[data-theme="dark"] .chat-author { color: #e2e8f0; }
html[data-theme="dark"] .chat-avatar { background: #334155; color: #94a3b8; }
html[data-theme="dark"] .chat-bubble { background: #334155; color: #e2e8f0; }
html[data-theme="dark"] .chat-bubble--mine { background: #2563eb; color: white; }
html[data-theme="dark"] .chat-owner-badge { background: rgba(37, 99, 235, 0.15); color: #60a5fa; }
html[data-theme="dark"] .chat-input-area { border-top-color: #334155; }
html[data-theme="dark"] .chat-input { background: #0f172a; border-color: #475569; color: #e2e8f0; }
html[data-theme="dark"] .chat-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12); }
html[data-theme="dark"] .chat-login-notice { border-top-color: #334155; color: #94a3b8; }
html[data-theme="dark"] .chat-login-notice a { color: #60a5fa; }
html[data-theme="dark"] .chat-delete-btn { border-color: #1e293b; }

/* ===== PAYMENT MODAL ===== */
.payment-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.payment-overlay--open {
    opacity: 1;
    pointer-events: auto;
}

.payment-modal {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    width: 100%;
    max-width: 380px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s;
}

.payment-overlay--open .payment-modal {
    transform: translateY(0) scale(1);
}

.payment-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color 0.15s;
}

.payment-close:hover { color: #1e293b; }

.payment-amount-display {
    text-align: center;
    margin-bottom: 0.25rem;
}

.payment-amount-value {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1;
}

.payment-amount-currency {
    font-size: 1rem;
    font-weight: 600;
    color: #94a3b8;
    margin-left: 0.25rem;
}

.payment-project-name {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 1.5rem;
}

.payment-card-group {
    margin-bottom: 0.25rem;
}

.payment-card-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.payment-card-element {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.payment-card-element:focus-within,
.payment-card-element.StripeElement--focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.payment-card-errors {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.4rem;
    min-height: 1em;
}

.payment-submit-btn {
    width: 100%;
    padding: 0.85rem;
    margin-top: 0.25rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.25s;
}

.payment-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.payment-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.payment-spinner {
    width: 16px;
    height: 16px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: paymentSpin 0.6s linear infinite;
}

@keyframes paymentSpin {
    to { transform: rotate(360deg); }
}

.payment-secure-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    font-size: 0.7rem;
    color: #94a3b8;
}

/* Success */
.payment-success {
    text-align: center;
    padding: 0.5rem 0;
}

.payment-success-check {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f0fdf4;
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.payment-success-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.35rem;
}

.payment-success-text {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0 0 1.25rem;
}

.payment-success-btn {
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s;
}

.payment-success-btn:hover {
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
    transform: translateY(-1px);
}

/* Payment modal dark mode */
html[data-theme="dark"] .payment-modal { background: #1e293b; }
html[data-theme="dark"] .payment-close { color: #64748b; }
html[data-theme="dark"] .payment-close:hover { color: #e2e8f0; }
html[data-theme="dark"] .payment-amount-value { color: #f1f5f9; }
html[data-theme="dark"] .payment-amount-currency { color: #64748b; }
html[data-theme="dark"] .payment-project-name { color: #94a3b8; }
html[data-theme="dark"] .payment-card-label { color: #94a3b8; }
html[data-theme="dark"] .payment-card-element { background: #0f172a; border-color: #475569; }
html[data-theme="dark"] .payment-card-element:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
html[data-theme="dark"] .payment-success-title { color: #f1f5f9; }
html[data-theme="dark"] .payment-success-text { color: #94a3b8; }
html[data-theme="dark"] .payment-success-check { background: rgba(34, 197, 94, 0.1); }
