/* Модальное окно оплаты */
.focus-payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.focus-payment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
}

.focus-payment-container {
    position: relative;
    width: 460px;
    max-width: 90%;
    background: #1a1a1a;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid #333;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.focus-payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #333;
    background: #0d0d0d;
    border-radius: 16px 16px 0 0;
}

.focus-payment-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 500;
}

.focus-payment-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    transition: color 0.2s;
}

.focus-payment-close:hover {
    color: #e74c3c;
}

.focus-payment-body {
    padding: 24px;
}

.focus-payment-summary {
    background: #0d0d0d;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid #333;
}

.payment-amount {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.payment-amount strong {
    color: #8a2be2;
    font-size: 1.3rem;
}

.payment-description {
    color: #aaa;
    font-size: 0.9rem;
    word-break: break-word;
}

.focus-payment-field {
    margin-bottom: 18px;
}

.focus-payment-field label {
    display: block;
    margin-bottom: 6px;
    color: #ccc;
    font-size: 0.8rem;
    font-weight: 500;
}

.focus-payment-field input {
    width: 100%;
    padding: 12px 14px;
    background: #0d0d0d;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    transition: border 0.2s;
}

.focus-payment-field input:focus {
    outline: none;
    border-color: #8a2be2;
}

.focus-payment-row {
    display: flex;
    gap: 15px;
}

.focus-payment-row .focus-payment-field {
    flex: 1;
}

.focus-payment-info {
    background: rgba(138,43,226,0.1);
    border: 1px solid #8a2be2;
    border-radius: 10px;
    padding: 12px;
    margin: 20px 0;
    font-size: 0.75rem;
    color: #bbb;
}

.focus-payment-info ul {
    margin: 8px 0 0 20px;
    padding: 0;
}

.focus-payment-info li {
    margin: 4px 0;
}

.focus-payment-error {
    background: rgba(231,76,60,0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    text-align: center;
}

.focus-payment-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #8a2be2, #9d4edd);
    border: none;
    border-radius: 40px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.focus-payment-btn:hover {
    background: linear-gradient(135deg, #9d4edd, #b05eff);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(138,43,226,0.3);
}

.focus-payment-btn:disabled {
    opacity: 0.6;
    transform: none;
}