body { font-family: 'Arial', sans-serif; background-color: #f0f4f8; margin: 0; padding: 10px 20px; display: flex; justify-content: 
    center; align-items: center; min-height: 100vh; overflow: auto;
}
.slideshow-container, .error-container { width: 90%; max-width: 1200px; max-height: calc(100vh - 20px); background: #fff; border-radius: 
    12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); position: relative; display: flex; flex-direction: column; overflow: hidden; 
    display: none;
}
.error-container { padding: 20px; text-align: center; display: block;
}
.loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #f0f4f8; display: flex; 
    flex-direction: column; justify-content: center; align-items: center; z-index: 9999;
}
.loading-logo { width: 300px; height: 300px; object-fit: contain; border-radius: 20%; animation: breathe 2s ease-in-out infinite;
}
@keyframes breathe { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); }
}
.loading-bar-container { width: 350px; height: 50px; background-color: #e0e0e0; border-radius: 10px; margin-top: 20px; overflow: hidden;
}
.loading-bar { width: 0%; height: 100%; background-color: rgb(137, 197, 65); transition: width 0.3s ease;
}
.slide { display: none; opacity: 0; transition: opacity 0.5s ease-in-out; text-align: center; padding: 20px; flex: 1 0 auto; position: 
    relative;
}
.slide.active { display: block; opacity: 1;
}
.header { text-align: center; margin-bottom: 10px;
}
.header img { width: 500px; height: auto;
}
h1 { color: #2c3e50; margin: 10px 0; font-size: 2em;
}
.step-content { font-size: 1.2em; line-height: 1.6; color: #333; margin-bottom: 20px; position: relative; z-index: 1;
}
.step-content b { color: #2c3e50;
}
.image-container { width: 100%; max-width: 1200px; margin: 15px auto; display: flex; flex-direction: column; align-items: center;
}
.step-content img { max-width: 100%; height: auto; border-radius: 6px; object-fit: contain; margin: 10px 0;
}
a { color: #2c3e50; text-decoration: underline; transition: color 0.3s;
}
a:hover { color: #1a252f;
}
.footer { padding: 10px 20px; text-align: center; background: #fff; border-top: 1px solid #ddd; position: absolute; bottom: 0; width: 
    100%; box-sizing: border-box; margin: 0;
}
.footer button { padding: 12px 24px; margin: 0 10px; background-color: #34495e; color: white; border: none; border-radius: 6px; cursor: 
    pointer; font-size: 1.1em; transition: background-color 0.3s;
}
.footer button:disabled { background-color: #ccc; cursor: not-allowed;
}
.footer button:hover:not(:disabled) { background-color: #2c3e50;
}
.progress-bar { position: absolute; bottom: 60px; left: 20px; right: 20px; height: 10px; background: #e0e0e0; display: flex; 
    border-radius: 5px; overflow: hidden;
}
.progress-segment { flex: 1; height: 100%; background: #34495e; cursor: pointer; transition: background 0.3s;
}
.progress-segment:hover { background: #2c3e50;
}
.progress-segment.inactive { background: #e0e0e0;
}
.confetti { position: absolute; width: 10px; height: 10px; background: hsl(var(--hue), 80%, 50%); top: -10px; animation: fall 3s linear 
    infinite; z-index: 0;
}
@keyframes fall { to { transform: translateY(100vh); }
}
.debug-info { width: 90%; max-width: 1200px; margin: 20px auto; background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 4px 
    20px rgba(0, 0, 0, 0.1);
}
.debug-info pre { white-space: pre-wrap; word-wrap: break-word;
}
@media print { body { background-color: #fff; padding: 0; display: block; min-height: auto; overflow: visible;
    }
    .slideshow-container { width: 100%; max-width: none; max-height: none; box-shadow: none; border-radius: 0; overflow: visible; 
        display: block;
    }
    .slide { display: block !important; opacity: 1 !important; page-break-after: always; break-after: page; position: relative; padding: 
        20mm; min-height: auto; height: auto; margin: 0;
    }
    .slide:last-child { page-break-after: avoid; break-after: auto;
    }
    .header img { width: 300px;
    }
    h1 { font-size: 1.5em;
    }
    .step-content { font-size: 1em; margin-bottom: 10mm;
    }
    .image-container { max-width: 100%; margin: 10mm auto;
    }
    .step-content img { max-width: 100%; max-height: 60vh; height: auto;
    }
    .footer, .progress-bar, .debug-info { display: none !important;
    }
    .confetti { display: none !important;
    }
    .loading-overlay { display: none !important;
    }
}
