/*
===============================================================================
MANUSCRIPT DEPOSIT PAGE STYLES
===============================================================================
Styles pour la page de dépôt de manuscrit - BookConnect
Sections : Hero, Workflow, Steps, Dashboard, CTA, Plumes System
===============================================================================
*/

/* ===== VARIABLES CSS ===== */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --success-color: #10b981;
    --warning-color: #fbbf24;
    --primary-blue: #3b82f6;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-light: #f8fafc;
    --bg-gray: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== SECTION HERO ===== */
.manuscript-hero {
    background: var(--primary-gradient);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

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

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

/* Statistiques Hero */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== SECTION WORKFLOW TIMELINE ===== */
.workflow-overview {
    padding: 5rem 0;
    background: var(--bg-light);
}

.workflow-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
    gap: 1rem;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--bg-gray);
    z-index: 1;
}

.timeline-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
    background: white;
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    max-width: 180px;
    margin: 0 auto;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-gray);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.timeline-step.active .step-number {
    background: var(--primary-blue);
    color: white;
}

.timeline-step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

.timeline-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* ===== SECTION ÉTAPES DÉTAILLÉES ===== */
.detailed-steps {
    padding: 5rem 0;
}

.step-detail {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.step-detail.visible {
    opacity: 1;
    transform: translateY(0);
}

/* En-tête des étapes */
.step-header {
    background: linear-gradient(135deg, #f1f5f9 0%, var(--bg-gray) 100%);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-badge {
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.step-header h3 {
    flex: 1;
    margin: 0;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.duration {
    background: var(--success-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contenu des étapes */
.step-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.step-actions h4,
.step-deliverables h4,
.step-interactions h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-actions ul,
.step-deliverables ul {
    list-style: none;
    padding: 0;
}

.step-actions li,
.step-deliverables li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 1.5rem;
}

.step-actions li::before,
.step-deliverables li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.interaction-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.interaction-item {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.interaction-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.interaction-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== SECTION DASHBOARD PREVIEW ===== */
.author-dashboard-preview {
    padding: 5rem 0;
    background: var(--bg-light);
}

.dashboard-mockup {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-top: 2rem;
}

.dashboard-header {
    background: var(--primary-gradient);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.in-review {
    background: var(--warning-color);
    color: #92400e;
}

/* Contenu du dashboard */
.dashboard-content {
    padding: 2rem;
}

.progress-section {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color), #059669);
    transition: width 0.3s ease;
}

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

.stat-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.stat-card h5 {
    margin: 0 0 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.recent-activity {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.activity-item i {
    color: var(--primary-blue);
    width: 20px;
}

.activity-item time {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ===== SECTION CTA (CALL TO ACTION) ===== */
.cta-section {
    background: var(--secondary-gradient);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Boutons génériques */
.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--text-primary);
}

/* ===== SECTION SYSTÈME DE PLUMES ===== */
.plumes-system {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
}

.plumes-overview {
    margin-top: 2rem;
}

/* Affichage du solde */
.plumes-balance {
    text-align: center;
    margin-bottom: 3rem;
}

.balance-display {
    background: linear-gradient(135deg, var(--warning-color) 0%, #f59e0b 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 25px -5px rgba(251, 191, 36, 0.3);
}

.balance-display i {
    font-size: 2rem;
}

.balance-number {
    font-size: 3rem;
    font-weight: 700;
}

.balance-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Grille des sections Plumes */
.plumes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.plumes-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.plumes-section h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Gagner des Plumes */
.earn-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.earn-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
}

.earn-action {
    font-weight: 500;
    color: var(--text-primary);
}

.earn-points {
    font-weight: 700;
    color: var(--success-color);
    font-size: 0.9rem;
}

/* Dépenser des Plumes */
.spend-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spend-category h4 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.spend-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    margin-bottom: 0.5rem;
}

.spend-service {
    font-weight: 500;
    color: var(--text-primary);
}

.spend-cost {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

/* Avantages des Plumes */
.plumes-benefits {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.plumes-benefits h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.level-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.level-card.bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #b8860b 100%);
    color: white;
}

.level-card.silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
    color: var(--text-primary);
}

.level-card.gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: var(--text-primary);
}

.level-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.level-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.level-card p {
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.level-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.level-card li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1rem;
}

.level-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* Hero responsive */
    .manuscript-hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* Workflow responsive */
    .workflow-timeline {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .workflow-timeline::before {
        display: none;
    }
    
    .timeline-step {
        max-width: 300px;
        width: 100%;
    }
    
    /* Steps responsive */
    .step-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Dashboard responsive */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* CTA responsive */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Plumes responsive */
    .plumes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .levels-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .balance-display {
        flex-direction: column;
        text-align: center;
    }
    
    .balance-number {
        font-size: 2.5rem;
    }
}

/*
===============================================================================
FIN DU FICHIER MANUSCRIPT.CSS
===============================================================================
*/
