body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    background-color: white;
    color: #333;
    position: relative;
    min-height: 100vh;
}
.header-image {
    display: block;
    margin: 0 auto 20px;
    max-width: 65%;
    height: auto;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}
.section {
    background-color: white;
    padding: 10px;
    margin: 5px 0;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    min-height: auto;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}
h1, h2 {
    color: #0d600d;
    font-weight: 600;
    margin-bottom: 15px;
}
input, button {
    padding: 5px;
    margin: 5px 0;
    width: 100%;
    box-sizing: border-box;
    font-size: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    margin-bottom: 5px;
}
.file-input-wrapper input[type=file] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.file-input-button {
    background-color: #0d600d;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
.file-input-button:hover {
    background-color: #0a4a0a;
}
button {
    background-color: #0d600d;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    padding: 10px;
    font-size: 12px;
}
button:hover {
    background-color: #0a4a0a;
}
#outputFrame {
    width: 90%;
    height: 225px;
    border: 1px solid #ddd;
    margin-top: 10px;
    display: none;
    pointer-events: none;
    border-radius: 4px;
    background-color: #f9f9f9;
}
#openTabButton {
    margin-top: 10px;
    background-color: #0d600d;
    border: 1px solid #0d600d;
}
#openTabButton:hover {
    background-color: #0a4a0a;
}
.preview-label {
    font-weight: 600;
    color: #0d600d;
    font-size: 12px;
    margin-bottom: 8px;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hidden {
    display: none;
}
.footer-logo {
    position: fixed;
    bottom: 15px;
    left: 15px;
    max-width: 200px;
    height: auto;
    z-index: 1000;
}
