body {
    background-color: #0d0d0d;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.main-container {
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 20px;
}

h1 {
    font-weight: 400;
    letter-spacing: 5px;
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

input {
    flex-grow: 1;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 15px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
}

input:focus {
    border-color: #555;
}

button {
    background: #333;
    color: white;
    border: none;
    padding: 0 20px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

button:hover {
    background: #555;
}

#statusText {
    height: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.soluble { color: #28a745 !important; }
.insoluble { color: #dc3545 !important; }

#viewer {
    width: 100%;
    height: 400px;
    background: #000;
    border: 1px solid #222;
    border-radius: 8px;
    position: relative;
}

.helper-link {
    display: block;
    margin-top: 8px;
    margin-bottom: 25px;
    font-size: 0.75rem;
    color: #444;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.helper-link:hover {
    color: #888;
    text-decoration: underline;
}