/* ========================================
   PAYMENT PAGES STYLES
   Стили для страниц оплаты
   ======================================== */

/* === PAYMENT INIT PAGE === */

/* Заголовок страницы */
.payment-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Блок с текущим балансом */
.balance-info-card {
    background: linear-gradient(135deg, rgba(25, 25, 72, 0.95) 0%, rgba(0, 0, 51, 0.95) 100%);
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.balance-content {
    flex: 1;
}

.balance-label {
    font-size: 12px;
    color: rgba(201, 209, 255, 0.7);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-amount {
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.balance-currency {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 215, 0, 0.8);
}

.balance-hint {
    font-size: 11px;
    color: rgba(201, 209, 255, 0.6);
}

/* Иконка заголовка */
.payment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(25, 25, 72, 0.95) 0%, rgba(0, 0, 51, 0.95) 100%);
    border: 2px solid rgba(120, 140, 255, 0.7);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(120, 140, 255, 0.3);
    margin: 0 auto 1rem;
}

.payment-icon i {
    font-size: 2.5rem;
    color: #ffd700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.payment-header h1 {
    color: #ffd700;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 0.5rem;
}

.payment-subtitle {
    color: #c9d1ff;
    font-size: 14px;
}

/* Контейнер с колонками */
.payment-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

/* Навигационные кнопки */
.payment-navigation {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

.payment-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(25, 25, 72, 0.95) 0%, rgba(0, 0, 51, 0.95) 100%);
    border: 2px solid rgba(120, 140, 255, 0.6);
    border-radius: 12px;
    color: #c9d1ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.payment-nav-btn:hover {
    background: linear-gradient(135deg, rgba(30, 30, 80, 0.98) 0%, rgba(15, 15, 50, 0.98) 100%);
    border-color: rgba(120, 140, 255, 0.9);
    color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 140, 255, 0.4);
}

.payment-nav-btn i {
    font-size: 16px;
}

.payment-nav-back {
    border-color: rgba(120, 140, 255, 0.5);
}

.payment-nav-shop {
    border-color: rgba(255, 215, 0, 0.5);
}

.payment-nav-shop:hover {
    border-color: rgba(255, 215, 0, 0.8);
}

/* Карточка оплаты */
.payment-card {
    background: linear-gradient(135deg, rgba(25, 25, 72, 0.95) 0%, rgba(0, 0, 51, 0.95) 100%);
    border: 2px solid rgba(120, 140, 255, 0.7);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(120, 140, 255, 0.3);
}

/* Поля формы */
.payment-field {
    margin-bottom: 1.5rem;
}

.payment-hint {
    display: block;
    color: #c9d1ff;
    font-size: 12px;
    margin-top: 0.5rem;
}

.payment-hint i {
    margin-right: 0.25rem;
}

/* Заголовок курса обмена */
.exchange-rate-title {
    margin: 0 0 0.75rem 0;
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Общий стиль для заголовков секций */
.payment-section-title {
    display: block;
    margin: 0 0 0.75rem 0;
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.payment-section-title i {
    margin-right: 0.5rem;
    font-size: 14px;
}

/* Карточка курса обмена */
.exchange-rate-card {
    background: linear-gradient(135deg, rgba(30, 30, 80, 0.7) 0%, rgba(15, 15, 50, 0.7) 100%);
    padding: 1.25rem;
    border-radius: 12px;
    color: white;
    border: 2px solid rgba(120, 140, 255, 0.6);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.exchange-rate-card .icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(120, 140, 255, 0.3);
    border: 2px solid rgba(120, 140, 255, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(120, 140, 255, 0.9);
    box-shadow: 0 0 15px rgba(120, 140, 255, 0.4);
}

.exchange-rate-card h6 {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.exchange-rate-card p {
    color: #c9d1ff;
}

.exchange-rate-text {
    margin: 0;
    font-size: 13px;
    color: rgba(201, 209, 255, 0.8);
}

/* Разделитель секций */
.section-spacer {
    height: 1.5rem;
}

/* Поле ввода суммы */
.amount-input-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

.form-label {
    color: #ffd700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    display: block;
    margin-bottom: 0.75rem;
    font-size: 14px;
    font-weight: 600;
}

.form-label i {
    margin-right: 0.5rem;
}

.amount-input {
    width: 100%;
    height: 70px;
    font-size: 1.75rem !important;
    font-weight: bold;
    padding: 0 60px 0 15px;
    border: 2px solid rgba(120, 140, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    color: #ffd700;
    outline: none;
}

.amount-input:focus {
    border-color: rgba(120, 140, 255, 0.9);
    box-shadow: 0 0 0 4px rgba(120, 140, 255, 0.2), 0 0 15px rgba(120, 140, 255, 0.4);
    background: rgba(0, 0, 0, 0.6);
}

.currency-symbol {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.75rem;
    font-weight: bold;
    color: #ffd700;
    pointer-events: none;
}

small.text-muted {
    color: #c9d1ff !important;
    font-size: 12px;
}

/* Кнопки быстрого выбора */
.quick-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.quick-amount-btn {
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(120, 140, 255, 0.4);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #c9d1ff;
}

.quick-amount-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(120, 140, 255, 0.8);
    box-shadow: 0 8px 20px rgba(120, 140, 255, 0.3);
    background: rgba(30, 30, 80, 0.5);
}

.quick-amount-btn.active {
    background: linear-gradient(135deg, rgba(25, 25, 72, 0.95) 0%, rgba(0, 0, 51, 0.95) 100%);
    border-color: rgba(120, 140, 255, 0.9);
    color: #ffd700;
    box-shadow: 0 0 20px rgba(120, 140, 255, 0.5);
}

.quick-amount-btn.recommended {
    border-color: #ff6600;
}

.quick-amount-btn .badge-recommended {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff6600;
    color: #fff;
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.5);
}

.quick-amount-btn .amount {
    font-size: 1.5rem;
    font-weight: bold;
}

.quick-amount-btn .currency {
    font-size: 1.25rem;
    opacity: 0.8;
}

/* Кнопка оплаты */
.btn-pay {
    width: 100%;
    background: linear-gradient(135deg, rgba(25, 25, 72, 0.95) 0%, rgba(0, 0, 51, 0.95) 100%);
    color: #ffff99;
    border: 2px solid rgba(120, 140, 255, 0.7);
    border-radius: 12px;
    padding: 1.25rem;
    font-size: 1.125rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(120, 140, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-pay:hover {
    background: linear-gradient(135deg, rgba(30, 30, 80, 0.98) 0%, rgba(15, 15, 50, 0.98) 100%);
    border-color: rgba(120, 140, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(120, 140, 255, 0.5);
    color: #ffd700;
}

.btn-pay:active {
    transform: translateY(-1px);
}

.btn-pay-icon {
    font-size: 1.5rem;
}

.btn-pay-arrow {
    margin-left: auto;
}

/* Карточка превью бонусов */
.bonus-preview-card {
    background: linear-gradient(135deg, rgba(30, 30, 80, 0.7) 0%, rgba(15, 15, 50, 0.7) 100%);
    border: 2px solid rgba(120, 140, 255, 0.6);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(120, 140, 255, 0.3);
    margin-bottom: 1.5rem;
}

.bonus-preview-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    color: #c9d1ff;
}

.bonus-amount {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 1rem;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.bonus-amount span {
    transition: transform 0.3s ease;
}

.bonus-text {
    font-size: 1.25rem;
    font-weight: normal;
    opacity: 0.9;
    color: #ffeb3b;
}

.bonus-preview-footer {
    display: flex;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(120, 140, 255, 0.2);
    font-size: 0.875rem;
    opacity: 0.9;
    color: #c9d1ff;
}

/* Карточка способов оплаты */
.payment-methods-card {
    background: linear-gradient(135deg, rgba(25, 25, 72, 0.95) 0%, rgba(0, 0, 51, 0.95) 100%);
    border: 2px solid rgba(120, 140, 255, 0.6);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(120, 140, 255, 0.2);
    margin-bottom: 2.5rem;
}

.payment-methods-card h6 {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.payment-methods-card h6 i {
    margin-right: 0.5rem;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.payment-method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(120, 140, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.payment-method-item:hover {
    background: rgba(30, 30, 80, 0.5);
    border-color: rgba(120, 140, 255, 0.8);
    transform: translateY(-2px);
}

.payment-method-item i {
    font-size: 2rem;
    color: rgba(120, 140, 255, 0.9);
}

.payment-method-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #c9d1ff;
}

/* Карточка безопасности */
.security-card {
    background: linear-gradient(135deg, rgba(25, 25, 72, 0.95) 0%, rgba(0, 0, 51, 0.95) 100%);
    border: 2px solid rgba(120, 140, 255, 0.6);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(120, 140, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.security-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(30, 30, 80, 0.7) 0%, rgba(15, 15, 50, 0.7) 100%);
    border: 2px solid rgba(120, 140, 255, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(120, 140, 255, 0.9);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.security-text strong {
    display: block;
    color: #ffd700;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.security-text p {
    color: #c9d1ff;
    font-size: 0.875rem;
}

/* === PAYMENT SUCCESS PAGE === */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #28a745;
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .check-icon::before, 
.success-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: #fff;
    transform: rotate(-45deg);
}

.success-checkmark .check-icon .icon-line {
    height: 5px;
    background-color: #28a745;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.success-checkmark .check-icon .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.success-checkmark .check-icon .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.success-checkmark .check-icon .icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(40, 167, 69, 0.5);
}

.success-checkmark .check-icon .icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #fff;
}

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }
    5% {
        transform: rotate(-45deg);
    }
    12% {
        transform: rotate(-405deg);
    }
    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 46px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

/* === PAYMENT FORM PAGE === */
.payment-form-page body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(25, 25, 72, 0.95) 0%, rgba(0, 0, 51, 0.95) 100%);
    margin: 0;
    padding: 20px;
}

.payment-form-page .loader-container {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.payment-form-page .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid rgba(120, 140, 255, 0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.payment-form-page h2 {
    color: #333;
    margin: 0 0 10px 0;
}

.payment-form-page p {
    color: #666;
    margin: 0;
}

.payment-form-page .manual-submit {
    margin-top: 20px;
}

.payment-form-page .btn {
    background: linear-gradient(135deg, rgba(25, 25, 72, 0.95) 0%, rgba(0, 0, 51, 0.95) 100%);
    color: white;
    border: 2px solid rgba(120, 140, 255, 0.7);
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.payment-form-page .btn:hover {
    background: linear-gradient(135deg, rgba(30, 30, 80, 0.98) 0%, rgba(15, 15, 50, 0.98) 100%);
    border-color: rgba(120, 140, 255, 0.9);
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 991px) {
    .payment-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .payment-navigation {
        flex-direction: column;
        align-items: stretch;
        padding: 0 1rem;
    }
    
    .payment-nav-btn {
        justify-content: center;
    }
    
    .bonus-preview-card,
    .payment-methods-card,
    .security-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .payment-icon {
        width: 60px;
        height: 60px;
    }
    
    .payment-icon i {
        font-size: 2rem;
    }
    
    .amount-input {
        height: 60px;
        font-size: 2.5rem !important;
    }
    
    .quick-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bonus-amount {
        font-size: 2.5rem;
    }
}

/* История платежей */
.payment-history-card {
    background: linear-gradient(135deg, rgba(25, 25, 72, 0.6) 0%, rgba(0, 0, 51, 0.6) 100%);
    border: 1px solid rgba(120, 140, 255, 0.6);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.payment-history-item {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(120, 140, 255, 0.2);
    transition: background 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-history-item:last-child {
    border-bottom: none;
}

.payment-history-item:hover {
    background: rgba(120, 140, 255, 0.1);
    border-radius: 8px;
}

.payment-history-date {
    font-size: 11px;
    color: rgba(201, 209, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-history-date i {
    font-size: 10px;
}

.payment-history-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-history-amount {
    font-size: 14px;
    font-weight: 600;
    color: #4ade80;
}

.payment-history-bonus {
    font-size: 12px;
    color: #ffd700;
    font-weight: 500;
}

/* ============================================
   Страницы результата оплаты (success/error)
   ============================================ */

.payment-result-container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.payment-result-card {
    background: linear-gradient(135deg, rgba(25, 25, 72, 0.95) 0%, rgba(0, 0, 51, 0.95) 100%);
    border: 2px solid rgba(120, 140, 255, 0.6);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(120, 140, 255, 0.2);
}

/* Иконка результата */
.payment-result-icon-wrapper {
    margin-bottom: 2rem;
}

.success-icon {
    font-size: 90px;
    color: #4ade80;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

.error-icon {
    font-size: 90px;
    color: #ff6b6b;
    animation: errorPulse 2s ease-in-out infinite;
}

@keyframes errorPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Заголовок */
.payment-result-title {
    font-size: 2rem;
    font-weight: 700;
    color: #4ade80;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.6);
    margin-bottom: 1.5rem;
}

.payment-result-title.error {
    color: #ff6b6b;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
}

/* Сообщение */
.payment-result-message {
    font-size: 1.1rem;
    color: rgba(201, 209, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Блок информации о платеже */
.payment-result-info {
    background: rgba(25, 25, 72, 0.6);
    border: 1px solid rgba(120, 140, 255, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.payment-result-info.success {
    border-color: rgba(74, 222, 128, 0.5);
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
}

.payment-result-info.error {
    border-color: rgba(255, 107, 107, 0.5);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.payment-result-info.pending {
    border-color: rgba(251, 191, 36, 0.5);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
}

/* Сумма бонусов */
.payment-result-amount {
    margin-bottom: 1.5rem;
}

.amount-value {
    font-size: 3rem;
    font-weight: 700;
    color: #4ade80;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.6);
    display: block;
}

.amount-label {
    font-size: 1.2rem;
    color: rgba(201, 209, 255, 0.8);
    font-weight: 500;
    display: block;
    margin-top: 0.5rem;
}

/* Детали платежа */
.payment-result-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(120, 140, 255, 0.2);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.95rem;
    color: rgba(201, 209, 255, 0.7);
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: #c9d1ff;
}

/* Спиннер ожидания */
.payment-result-spinner {
    margin-bottom: 1rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(251, 191, 36, 0.2);
    border-top-color: #fbbf24;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner-title {
    font-size: 1.3rem;
    color: #fbbf24;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Статус проверки */
.payment-result-status {
    font-size: 0.9rem;
    color: rgba(201, 209, 255, 0.7);
    margin-top: 1rem;
}

.payment-result-status i {
    margin-right: 0.5rem;
}

/* Причины ошибки */
.payment-error-reasons {
    background: rgba(25, 25, 72, 0.6);
    border: 1px solid rgba(120, 140, 255, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.reasons-title {
    font-size: 1.1rem;
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reasons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reasons-list li {
    font-size: 0.95rem;
    color: rgba(201, 209, 255, 0.85);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.reasons-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-size: 1.2rem;
}

/* Кнопки действий */
.payment-result-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-result-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.payment-result-btn.primary {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #000;
    box-shadow: 0 8px 20px rgba(74, 222, 128, 0.3);
}

.payment-result-btn.primary:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 10px 25px rgba(74, 222, 128, 0.5);
    transform: translateY(-2px);
}

.payment-result-btn.secondary {
    background: transparent;
    color: #c9d1ff;
    border-color: rgba(120, 140, 255, 0.6);
}

.payment-result-btn.secondary:hover {
    background: rgba(120, 140, 255, 0.15);
    border-color: rgba(120, 140, 255, 0.9);
    transform: translateY(-2px);
}

/* Поддержка */
.payment-result-support {
    font-size: 0.9rem;
    color: rgba(201, 209, 255, 0.7);
}

.payment-result-support a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.payment-result-support a:hover {
    color: #ffeb3b;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .payment-result-card {
        padding: 2rem 1.5rem;
    }

    .payment-result-title {
        font-size: 1.5rem;
    }

    .payment-result-message {
        font-size: 1rem;
    }

    .amount-value {
        font-size: 2.2rem;
    }

    .payment-result-btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}
