:root {
    --accent1: #b0e0e6; /* Parse tag, wordwheel highlight */
	--accent2: #ef9d87; /* Headwords, header border accent, radio buttons */
	--lightText: #FFFFFF;
	--darkText: #333;
	--buttons: #4c4f53;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'muli', sans-serif;
    /* font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; */
    background: radial-gradient(circle at top left, #f6f4f4 0%, #ffffff 40%, #f6f4f4 100%);
    color: #111827;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.page-wrapper {
    width: min(100%, 1200px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.page-wrapper > * {
    width: 100%;
}

.centered-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    width: clamp(25rem, 40vw, 44rem);
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.2;
}

p {
    margin: 0;
    line-height: 1.75;
    max-width: 55rem;
}

button, input, textarea {
    font: inherit;
}

button {
    padding: 0.85rem 1.4rem;
    border: none;
    border-radius: 0.75rem;
    background: var(--buttons);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover {
    background: var(--accent2);
}

.builderContainer {
    min-height: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.output {
    padding: 1rem;
    font-size: 2rem;
    text-align: center;
}

.englishOutput {
    padding: 1rem;
    font-size: 1rem;
    text-align: center;
}

select {
    min-height: 3rem;
    padding: 0.65rem 2.5rem 0.65rem 0.9rem;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%236171f2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat calc(100% - 0.9rem) center;
    background-size: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 0.75rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.radio {
    box-sizing: border-box;
    appearance: none;
    background: white;
    outline: .125em solid #333;
    border: 3px solid white;
    border-radius: 0.15rem;
    width: .75rem;
    height: .75rem;
    cursor: pointer;
    margin-right: .3rem;
}

.radioGroup {
    display: flex;
    gap: .5rem;
    margin-bottom: .5rem;
}

.radio:checked {
	background: var(--accent2);
}

label {
    cursor: pointer;
}

.page-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.45);
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
}

#dropdownContainer {
    position:relative;
    display: inline-block;
}
.englishTransCont{
    /* position: absolute;
    z-index: 999; */
    width: 100%;
    height: 3rem;
    pointer-events: none;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
}

.englishTrans{
    display: none;
    height: inherit;
    width: 5rem;
    background: #ef9d87;
}