
/* public/style.css */
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    font-family: ui-sans-serif, system-ui, sans-serif;
    margin: 0;
    padding: 15px; /* Reduced slightly */
    overflow-x: hidden; /* Prevents horizontal scroll entirely */
    min-height: 100vh;
}


/* Header Layout */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    background-color: #0f172a; /* Dark slate */
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #1e293b;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo-section h1 {
    color: #10b981; /* Emerald-400 */
    font-weight: 700;
    margin: 0;
    font-size: 1.25rem;
}

.logo-section span {
    color: #64748b; /* Slate-500 */
    font-weight: 400;
}

.env-label {
    font-size: 10px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

/* Button & Link Styling */
.button-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn {
    padding: 0.4rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 200ms;
    display: inline-flex;
    align-items: center;
}

.btn-reset {
    background-color: #d97706; /* Amber-600 */
    color: white;
}

.btn-reset:hover {
    background-color: #f59e0b;
}

.btn-logout {
    background-color: #1e293b; /* Slate-800 */
    color: #cbd5e1;
}

.btn-logout:hover {
    background-color: #334155;
    color: white;
}

#resource-bar {
    display: flex;
    gap: 1.5rem; /* gap-6 */
    margin-bottom: 0.5rem; /* mb-2 */
    padding: 0.5rem 1rem; /* px-4 py-2 */
    background-color: #1e293b; /* bg-slate-800 */
    border-radius: 0.375rem; /* rounded-md */
    border: 1px solid #334155; /* border-slate-700 */
    font-family: ui-monospace, monospace;
    font-size: 11px;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.stat-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-label {
    color: #94a3b8; /* text-slate-400 */
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

.progress-bg {
    width: 6rem; /* w-24 */
    height: 0.5rem; /* h-2 */
    background-color: #020617; /* bg-slate-950 */
    border-radius: 9999px;
    overflow: hidden;
    border: 1px solid #334155;
}

.progress-fill {
    height: 100%;
    transition: all 500ms;
}

.bg-emerald { background-color: #10b981; }
.bg-blue { background-color: #3b82f6; }
.bg-amber { background-color: #f59e0b; }
.bg-red { background-color: #ef4444; }

.text-emerald { color: #34d399; }
.text-blue { color: #60a5fa; }

#terminal {
    height: 80vh;
    width: 100%; /* Explicitly define width */
    background-color: black;
    border-radius: 0.375rem;
    padding: 10px;
    overflow: hidden; /* Keeps the terminal internal scroll from affecting the page */
}
