/**
 * WIZARD RESTORE BANNER - Styles
 * Banner non-intrusif pour restauration progression
 */

/* ============================================
   RESTORE BANNER
   ============================================ */
.wizard-restore-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.25rem 0;
    margin: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    animation: slideDown 0.4s ease-out;
}

.restore-banner-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.restore-banner-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.restore-banner-icon i {
    font-size: 1.5rem;
    color: white;
}

.restore-banner-text {
    flex: 1;
    min-width: 0;
}

.restore-banner-text strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.restore-banner-text span {
    display: block;
    font-size: 0.95rem;
    opacity: 0.95;
}

.restore-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.restore-banner-actions .btn {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.restore-banner-actions .btn-primary {
    background: white;
    color: #667eea;
    border: none;
}

.restore-banner-actions .btn-primary:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.restore-banner-actions .btn-outline-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.restore-banner-actions .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .restore-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .restore-banner-icon {
        margin: 0 auto;
    }
    
    .restore-banner-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .restore-banner-actions .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }
    
    .restore-banner-text strong {
        font-size: 1rem;
    }
    
    .restore-banner-text span {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .wizard-restore-banner {
        padding: 1rem 0;
        border-radius: 10px;
        margin: 1.5rem;
    }
    
    .restore-banner-icon {
        width: 45px;
        height: 45px;
    }
    
    .restore-banner-icon i {
        font-size: 1.3rem;
    }
}

/* ============================================
   ACCESSIBILITÉ
   ============================================ */
.restore-banner-actions .btn:focus {
    outline: 3px solid white;
    outline-offset: 2px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .wizard-restore-banner {
        animation: none;
    }
    
    .restore-banner-actions .btn:hover {
        transform: none;
    }
}