/* Основной контейнер страницы доната */
.donate-page {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Заголовки — по центру */
.donate-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #1e293b;
}

.donate-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
}

/* Сетка — центрированная */
.donate-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Карточки — фиксированная ширина для красоты */
.donate-card {
    flex: 1 1 380px;
    max-width: 420px;
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.donate-card:hover {
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #0f172a;
}

/* Отображение баланса — по центру */
.balance-display {
    margin: 20px 0;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.balance-value {
    font-size: 4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.balance-label {
    font-size: 1.2rem;
    color: #64748b;
    margin-left: 5px;
}

/* Статус ЮMoney */
.yoomoney-status {
    margin-top: 15px;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #fbbf24;
    text-align: left;
}

.status-text {
    margin: 0;
    color: #334155;
    font-size: 0.95rem;
}

/* Стилизация формы доната (внутри шорткода) */
.donate-form-container {
    margin: 10px 0 20px;
}

.donate-form-container .umps-donate-form-wrapper {
    width: 100%;
    text-align: left;
}

.donate-form-container button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    margin-top: 15px;
}

.donate-form-container button:hover {
    background: #2563eb;
}

.donate-form-container input[type="number"] {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 1rem;
    transition: border 0.2s;
}

.donate-form-container input[type="number"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.donate-form-container .umps-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
}

.donate-form-container .umps-message.success {
    background: #dcfce7;
    color: #166534;
}

.donate-form-container .umps-message.error {
    background: #fee2e2;
    color: #991b1b;
}

.card-hint {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 15px;
    text-align: center;
}

/* Футер */
.donate-footer {
    margin-top: 50px;
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
}

.donate-footer a {
    color: #3b82f6;
    text-decoration: none;
}

.donate-footer a:hover {
    text-decoration: underline;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .donate-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}