/* --- Global Layout --- */
body {
    margin: 0;
    padding: 0;
    font-family: Inter, Roboto, Arial, sans-serif;
    background: #eef1f6;
    color: #222;
    -webkit-font-smoothing: antialiased;
}

/* --- Centered Card Container --- */
.container {
    max-width: 700px;
    margin: 60px auto;
    background: #fff;
    padding: 35px;
    border-radius: 14px;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.06),
        0 8px 24px rgba(0,0,0,0.08);
}

/* --- Headings --- */
h2 {
    margin-top: 0;
    font-size: 28px;
    font-weight: 700;
    color: #111;
}

h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 600;
}

/* --- Inputs --- */
input[type="text"],
input[type="password"],
input[type="number"],
select {
    width: calc(100% - 24px); 
    padding: 12px 14px;
    margin: 8px 0 18px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    font-size: 15px;
    transition: border 0.2s, box-shadow 0.2s;
}

input:focus {
    border-color: #4a8bff;
    box-shadow: 0 0 0 3px rgba(74, 139, 255, 0.25);
    outline: none;
}

/* --- Buttons --- */
button {
    padding: 12px 22px;
    background: #4a8bff;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

button:hover {
    background: #2f6df0;
}

button:active {
    transform: scale(0.97);
}

/* --- Script Blocks --- */
.script-block {
    padding: 20px;
    background: #f9fafc;
    border-radius: 12px;
    border: 1px solid #e3e7ee;
    margin-bottom: 25px;
    transition: box-shadow 0.2s;
}

.script-block:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* --- Output Streaming --- */
.output-box {
    background: #0d1117;
    color: #a5ffb3;
    padding: 20px;
    border-radius: 12px;
    font-family: "JetBrains Mono", Consolas, monospace;
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #1f2937;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.4);
}
