:root {
    --bg: #0f172a;
    --card: #1e293b;
    --text: #e2e8f0;
    --accent: #22d3ee;
    --input: #334155;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}
h1 {
    color: var(--accent);
    margin-bottom: 1rem;
}
form {
    background: var(--card);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 0 20px #0004;
}
textarea, select, input[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 0.5rem;
    background: var(--input);
    color: var(--text);
    font-size: 1rem;
}
input[type="submit"] {
    background: var(--accent);
    color: #000;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}
input[type="submit"]:hover {
    background: #67e8f9;
}
.output {
    background: var(--card);
    padding: 1.5rem;
    border-left: 5px solid var(--accent);
    margin-top: 1rem;
    max-width: 600px;
    width: 100%;
    border-radius: 1rem;
    position: relative;
}
code {
    font-family: 'Courier New', monospace;
    color: var(--accent);
    font-size: 1.1rem;
    display: block;
    white-space: pre-wrap;
    word-wrap: break-word;
}
label {
    font-weight: bold;
}
.copy-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 0.4rem;
    padding: 0.3rem 0.7rem;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}
.copy-btn:hover {
    background: #67e8f9;
}
.copy-msg {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    color: #67e8f9;
    display: none;
}