/* 1. Global Styles & Typography */
* {
    box-sizing: border-box;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

/* 2. Layout Container (The 90% Vertical Stack) */
.container {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 40px 0;
}

/* 3. Header & Image Styles */
.section {
    width: 100%;
}

#logo {
    width: 400px;
    margin-bottom: 10px;
}

.header-content h1 {
    margin-top: 0;
}

/* 4. Button & Hover Styles */
.button-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 15px;
}

button {
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

#run-btn {
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 10px 20px;
    font-size: 18px;
}

#run-btn:hover {
    background-color: #444;
    border-color: #777;
}

.secondary-btn {
    background-color: transparent;
    color: #eee;
    border: 1px solid #444;
    padding: 10px 20px;
    font-size: 18px;
}

/* 5. Tooltip/Hover Pane */
.help-wrapper {
    position: relative;
}

.hover-pane {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 110%;
    left: 0;
    width: 250px;
    background-color: #252525;
    border: 1px solid #444;
    padding: 15px;
    z-index: 10;
    transition: opacity 0.3s;
    pointer-events: none;
    font-size: 14px;
}

.help-wrapper:hover .hover-pane {
    visibility: visible;
    opacity: 1;
}

/* 6. Window Styles (Editor & Console) */
.label {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.window {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 15px;
    font-size: 18pt;
    line-height: 1.2;
    height: 430px;
    overflow-y: auto;
    white-space: pre;
    font-family: 'JetBrains Mono', monospace;
    font-variant-ligatures: normal;
}

.editor {
    color: #dcdcdc;
    outline: solid 4px #ff8457; /* Your custom orange outline */
}

.console {
    background-color: #000;
    color: #4af626; /* Terminal green */
    outline: solid 4px #52a7ff; /* Your custom blue outline */
}

/* 7. Feedback Section */
.feedback {
    background-color: #1a1a1a;
    border-left: 4px solid #3498db;
    padding: 20px;
    font-size: 16px;
    min-height: 80px;
}
