/* ── RunicTranslation — page-specific styles only ──────────────── */
/* Global styles, nav bar, typography, tokens live in /theme.css    */

#TranslationArea {
    display: flex;
    min-height: calc(100vh - var(--nav-height) - 10rem);
    width: 80%;
    margin: 0 auto 2rem;
    gap: 0;
}

#TranslationDivider {
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#Swap {
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    color: var(--muted);
    transition: color 0.15s;
    line-height: 1;
}

#Swap:hover {
    color: var(--text);
}

.TranslationColumn {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.languageTitle {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.TranslationBox {
    flex: 1;
    width: 100%;
    min-height: 10rem;
    resize: vertical;
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.15s;
}

.TranslationBox:focus {
    border-color: var(--accent);
}

#TranslationOutput {
    background: var(--surface-2);
    color: var(--text);
    cursor: default;
}

@media (max-width: 768px) {
    #TranslationArea {
        flex-direction: column;
        width: 92%;
        gap: 1rem;
    }

    .TranslationColumn {
        width: 100%;
    }

    #TranslationDivider {
        width: 100%;
        height: 2rem;
    }

    #Swap {
        transform: rotate(90deg);
    }
}