/* ----------------------
   Body
------------------------ */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    margin: 20px;
    background: #f5f5f5;
}

/* Space below fixed header for main container */
.container {
    max-width: 900px;
    margin: 20px auto; /* simplified margin */
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


/* Headings */
h1 {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
    color: #333;
}

h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #444;
}

/* Inputs, Textareas, Select */
textarea, input, select {
    width: 100%;
    margin: 8px 0;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-family: monospace;
    font-size: 14px;
    box-sizing: border-box;
}

/* Options / Checkbox labels */
.options {
    margin: 15px 0 25px 0;
}

.options label {
    font-weight: normal;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    margin-right: 15px;
    font-size: 14px;
}

/* Buttons */
button {
    margin-top: 10px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    background: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #0056b3;
}

/* Multiple buttons side by side */
button + button {
    margin-left: 10px;
}

/* Preformatted code output */
pre {
    background: #272822;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ----------------------
   Responsive Adjustments
------------------------ */
@media (max-width: 768px) {
    .container {
        margin: 15px;
        padding: 20px 15px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    button {
        width: 100%;
        margin-top: 12px;
    }

    .options label {
        display: block;
        margin-bottom: 10px;
    }
}
