body {
    font-family: Arial, sans-serif;
    background: #dff5e1;
    margin: 0;
    padding: 16px;
}

.container {
    max-width: 900px;
    margin: auto;
}

h1 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #1b5e20;
}

p {
    color: #2f4f2f;
    font-size: 14px;
    line-height: 1.5;
}

textarea {
    width: 100%;
    height: 220px;
    font-family: monospace;
    font-size: 14px;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #a5d6a7;
    border-radius: 6px;
    box-sizing: border-box;
    resize: vertical;
}

.buttons {
    margin: 12px 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

button {
    flex: 1;
    min-width: 120px;
    padding: 10px 12px;
    cursor: pointer;
    border: none;
    background: #1b5e20;
    color: white;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.2s;
}

button:hover {
    background: #144d18;
}

footer {
    margin-top: 30px;
    font-size: 12px;
    color: #2f4f2f;
    text-align: center;
}

.beta-badge {
    position: fixed;
    top: 12px;
    right: 12px;
    background: #1b5e20;
    color: white;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 9999;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1b5e20;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
    z-index: 10000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.charset-wrapper {
    margin-top: 15px;
}

.charset-wrapper label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #1b5e20;
}

.charset-wrapper select {
    width: 100%;
    padding: 10px;
    border: 1px solid #a5d6a7;
    border-radius: 6px;
}

.related-tools {
    margin-top: 30px;
}

.related-tools a {
    display: inline-block;
    margin-right: 10px;
    margin-top: 10px;
    padding: 8px 12px;
    background: #1b5e20;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
}

.related-tools a:hover {
    background: #144d18;
}

.content {
    margin-top: 25px;
    line-height: 1.6;
    color: #2f4f2f;
}

.content h2 {
    color: #1b5e20;
    margin-top: 20px;
}