/* Стили для виджета платежей */

.payment-panel {
    padding: 0;
    font-size: 11px;
}

/* Карточка информации о платеже */
.payment-info-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin: 10px;
    overflow: hidden;
}

.payment-info-header {
    padding: 8px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: 1px solid #e0e0e0;
}

.payment-info-body {
    padding: 12px;
}

.payment-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 11px;
}

.payment-info-row:last-child {
    border-bottom: none;
}

.payment-info-label {
    font-weight: 600;
    color: #666;
    flex-shrink: 0;
    margin-right: 8px;
}

.payment-info-value {
    text-align: right;
    color: #333;
    word-break: break-word;
}

.payment-info-footer {
    padding: 8px 12px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

/* Карточка формы отправки платежа */
.payment-form-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin: 10px;
    overflow: hidden;
}

.payment-form-header {
    padding: 8px 12px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-bottom: 1px solid #e0e0e0;
}

.payment-form-body {
    padding: 12px;
}

/* Селект тарифа */
.payment-tariff-select {
    width: 100%;
    padding: 8px 10px;
    font-size: 11px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.payment-tariff-select:hover {
    border-color: #999;
}

.payment-tariff-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

/* Кнопка отправки */
.payment-send-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.2s;
}

.payment-send-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.payment-send-btn:active:not(:disabled) {
    transform: translateY(0);
}

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

/* Адаптивность для правого сайдбара */
@media (max-width: 1400px) {
    .payment-info-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .payment-info-value {
        text-align: left;
    }
}
