/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --background-color: #f8f9fa;
    --text-color: #333;
    --border-color: #e0e0e0;
    --hover-color: #2b44b8;
    --progress-color: #4cc9f0;
    --user-bubble-color: #e9f5ff;
    --assistant-bubble-color: #f0f5ff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    height: 100vh;
    overflow: hidden;
}

.container {
    max-width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

/* Replay Component Styles */
#replay-container {
    background-color: white;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.replay-stage {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #f5f5f5;
    overflow: hidden;
    padding: 20px;
}

.creation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    overflow-y: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Conversation Elements */
.conversation-element {
    width: 100%;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.final-result {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Animation Elements - keeping for compatibility */
.html-element,
.css-element,
.js-element {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.html-element.visible,
.css-element.visible,
.js-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .replay-stage {
        padding: 15px;
    }
    
    .creation-canvas {
        padding: 15px;
    }
} 