/* index.css - Base styles with page stacking */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #121212;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #e0e0e0;
}

/* Page stacking - FIXED */
.page {
    display: none;
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.page.active {
    display: block;
}

/* Ensure app container takes full width */
#app {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Loading indicator */
#loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #e0e0e0;
    font-family: 'JetBrains Mono Light', monospace;
    z-index: 9999;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
}

/* Error display */
#error-display {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ff4444;
    color: white;
    padding: 10px;
    font-family: monospace;
    display: none;
    z-index: 10000;
}

/* Shared utility classes */
.divider {
    width: 100%;
    height: 1px;
    background-color: #444;
    margin: 0;
    border: none;
}

.comment {
    color: #6272a4;
}