/* ===== СТРАНИЦА ЭКСПОРТА ===== */

.export-card {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(59, 130, 246, 0.02) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

/* Заголовок */
.export-header {
    text-align: center;
    margin-bottom: 2rem;
}

.export-header-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.export-header-icon i {
    font-size: 2rem;
    color: white;
}

.export-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary), #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.export-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 450px;
    margin: 0 auto;
}

/* Статистика предпросмотра */
.export-stats-preview {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-pill {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 100px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.stat-pill i {
    color: var(--accent-blue);
    font-size: 1rem;
}

.stat-pill strong {
    color: var(--accent-blue);
    font-weight: 700;
    margin-left: 0.25rem;
}

/* Кнопка экспорта */
.export-action {
    text-align: center;
    margin-bottom: 2rem;
}

.btn-export {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-export:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-export:active {
    transform: translateY(0);
}

.btn-export:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Результат экспорта */
.export-result {
    margin-bottom: 2rem;
}

.export-loading {
    text-align: center;
    padding: 2rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: var(--radius-lg);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(59, 130, 246, 0.2);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.export-success {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-lg);
}

.export-success i {
    font-size: 1.5rem;
    color: #10b981;
}

.success-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.success-text strong {
    color: var(--text-primary);
    font-size: 1rem;
}

.export-error {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-lg);
    color: #ef4444;
}

.btn-small {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.btn-small:hover {
    color: var(--text-primary);
}

/* Информация */
.export-info {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.info-row i {
    width: 20px;
    color: var(--accent-blue);
}

/* Адаптация */
@media (max-width: 480px) {
    .export-card {
        padding: 1.5rem;
    }
    
    .export-stats-preview {
        gap: 0.75rem;
    }
    
    .stat-pill {
        padding: 0.35rem 1rem;
        font-size: 0.8rem;
    }
    
    .btn-export {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}