/* Styles pour la page gestion manuscrits éditeur */

/* Hero Section Éditeur */
.editor-hero {
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.editor-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.editor-hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Dashboard Éditeur */
.editor-dashboard {
    padding: 5rem 0;
    background: #f8fafc;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    color: #1e293b;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.urgent {
    background: #ef4444;
    color: white;
}

.submissions-list {
    padding: 1.5rem 2rem;
}

.submission-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.submission-item:last-child {
    border-bottom: none;
}

.submission-info h4 {
    margin: 0 0 0.5rem;
    color: #1e293b;
    font-size: 1.1rem;
}

.submission-info p {
    margin: 0 0 0.25rem;
    color: #64748b;
    font-size: 0.9rem;
}

.time-ago {
    font-size: 0.8rem;
    color: #94a3b8;
}

.submission-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-quick {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-quick.accept {
    background: #10b981;
    color: white;
}

.btn-quick.review {
    background: #f59e0b;
    color: white;
}

.btn-quick.reject {
    background: #ef4444;
    color: white;
}

.btn-quick:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-all {
    display: block;
    padding: 1rem 2rem;
    text-align: center;
    color: #3b82f6;
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
    font-weight: 500;
}

.view-all:hover {
    background: #f8fafc;
}

/* Pipeline */
.pipeline-stages {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.stage {
    text-align: center;
    flex: 1;
}

.stage-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 0.5rem;
}

.stage-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Workflow Éditorial */
.editorial-workflow {
    padding: 5rem 0;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.workflow-step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.workflow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.workflow-step h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.workflow-step p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tool {
    background: #f1f5f9;
    color: #475569;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Outils de Gestion */
.management-tools {
    padding: 5rem 0;
    background: #f8fafc;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tool-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.tool-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tool-card ul {
    list-style: none;
    padding: 0;
}

.tool-card li {
    padding: 0.5rem 0;
    color: #475569;
    position: relative;
    padding-left: 1.5rem;
}

.tool-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

/* Système de Plumes Éditeur */
.editor-plumes-system {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.editor-plumes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.plumes-section.earn-editor,
.plumes-section.spend-editor {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.spend-categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Analytics */
.editor-analytics {
    padding: 5rem 0;
}

.analytics-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.analytics-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.analytics-card h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.metric-trend {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
}

.metric-trend.up {
    background: #dcfce7;
    color: #166534;
}

.metric-trend.down {
    background: #fef2f2;
    color: #dc2626;
}

.genre-distribution {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.genre-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.genre-name {
    min-width: 80px;
    font-weight: 500;
    color: #1e293b;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transition: width 0.8s ease;
}

.genre-percent {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    color: #3b82f6;
}

/* CTA Éditeur */
.editor-cta {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.editor-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.editor-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .editor-plumes-grid {
        grid-template-columns: 1fr;
    }
    
    .analytics-dashboard {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .editor-hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
    }
    
    .submission-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .submission-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .pipeline-stages {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
