/* Global Style */
body {
    background-color: #efefef;
    color: #333333;
    font-family: 'Fira Mono', monospace;
    padding: 40px;
    line-height: 1.5;
}

h1 {
    font-family: 'Coustard', serif;
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h2 {
    font-family: 'Fira Mono', monospace;
    font-weight: 500;
    margin-top: 20px;
    font-size: 1.3rem;
}

.file-section {
    background: #ffffff;
    padding: 20px;
    border: 1px solid #cccccc;
    margin-bottom: 30px;
    border-radius: 6px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.05);
    max-width: 700px;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: 500;
}

input[type="file"],
select {
    width: 100%;
    font-family: 'Fira Mono', monospace;
    font-size: 0.95rem;
    padding: 6px 8px;
    margin-top: 4px;
    border: 1px solid #bbb;
    border-radius: 4px;
    background-color: #f9f9f9;
}

button {
    font-family: 'Fira Mono', monospace;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    transition: background 0.2s ease;
}

button:hover {
    background-color: #555;
}

#logOutput {
    margin-top: 20px;
    font-size: 0.95rem;
    background-color: #f7f7f7;
    padding: 15px;
    border-left: 4px solid #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: 'Fira Mono', monospace;
    font-size: 0.9rem;
}

table, th, td {
    border: 1px solid #ddd;
}

th {
    background-color: #f0f0f0;
    font-weight: 500;
    text-align: left;
}

td, th {
    padding: 8px;
}

.preview-block {
    margin-top: 30px;
    max-width: 700px;
}

#logOutput {
    margin-top: 20px;
    font-size: 0.95rem;
    background-color: #f7f7f7;
    padding: 15px;
    border-left: 4px solid #333;
    max-width: 700px;
    white-space: pre-wrap;
    overflow-y: auto;
    max-height: 300px;
}

button#resetButton {
    background-color: #bb2d3b;
}

button#resetButton:hover {
    background-color: #a71d2a;
}

/* Custom filename input */
input[type="text"]#customFilename {
    width: 100%;
    font-family: 'Fira Mono', monospace;
    font-size: 0.95rem;
    padding: 6px 8px;
    margin-top: 4px;
    border: 1px solid #bbb;
    border-radius: 4px;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

.info-text {
    font-size: 0.9rem;
    color: #555;
    margin-top: 6px;
    font-style: italic;
}

