/* ------------------------------------------------------------------ */
/* Copyright (c) 2025 [Your Name/Alias]. All Rights Reserved. */
/* License: Proprietary - For Educational Viewing Only. */
/* This file is part of the AI Executor GUI Mockup. */
/* ------------------------------------------------------------------ */

/* Base Styles */
body {
    background-color: #1e1e1e; /* VS Code dark background */
    color: #d4d4d4; /* Light grey text */
    font-family: Consolas, 'Courier New', monospace;
    padding: 10px;
    margin: 0;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    height: 98vh; /* Use 98vh to account for browser padding/margins */
}
.main-container {
    display: flex;
    flex-grow: 1;
    gap: 10px;
    margin-bottom: 10px;
}

/* Sidebar Styling */
.sidebar {
    width: 200px;
    background-color: #252526; /* Slightly lighter panel */
    border-radius: 5px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.sidebar h3 {
    text-align: center;
    color: #007acc; /* VS Code Blue */
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #3c3c3c;
}
.script-list {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 5px; /* Space for scrollbar */
}
.script-item {
    padding: 7px 5px;
    margin-bottom: 2px;
    cursor: pointer;
    color: #9cdcfe; /* Light blue for code items */
    border-radius: 3px;
    transition: background-color 0.1s;
}
.script-item:hover {
    background-color: #333333;
}

/* Main Editor Area */
.editor-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.button-panel {
    display: flex;
    gap: 10px;
}
.action-button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}
.btn-execute {
    background-color: #4CAF50; /* Green */
    color: white;
}
.btn-attach {
    background-color: #FFC107; /* Yellow/Orange */
    color: #1e1e1e;
}
.btn-clear {
    background-color: #555555; /* Dark Grey */
    color: white;
}
.action-button:hover { 
    filter: brightness(1.1);
}

/* Code Input Area */
.code-input {
    flex-grow: 1;
    background-color: #1e1e1e;
    border: 1px solid #007acc; /* Blue border for focus */
    color: #ce9178; /* Light red/orange for code area */
    padding: 10px;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 13px;
    resize: none; /* Disable manual resizing */
    border-radius: 5px;
    outline: none;
    box-shadow: inset 0 0 5px rgba(0, 122, 204, 0.2);
}

/* Status Bar */
.status-bar {
    background-color: #007acc; /* VS Code Status Bar blue */
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

/* Footer & Disclaimer */
.footer {
    border-top: 1px solid #3c3c3c;
    padding: 10px 0 0 0;
    text-align: center;
    font-size: 11px;
    color: #808080; /* Dim grey for disclaimer */
}
.warning {
    color: #f08080; /* Light red for warning */
    font-weight: bold;
    margin-bottom: 5px;
}