﻿*, *::before, *::after {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1rem;
}

body {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0 auto;
    background-color: #f4f4f9;
}

.page-shell {
    position: absolute;
    max-width: var(--designWidth); /* Hardcoded layout width */
    max-height: var(--designHeight); /* Hardcoded layout height */
    transform-origin: center; /* Scale from top-center edge */
    display: flex;
    flex-direction: column;
    padding: 20px;
}

h1 {
    padding: 30px 0 0 0px;
    font-size: 3rem;
    text-align: left;
    margin: 20px 0 10px 0;
}
a {
    font-size: 2rem;
    margin: 0 10px 30px 0;
    border: 10px;
}
#pix {
    border: 3px solid blue;
    border-radius: 8px;
    height: 2em;
    width: auto;
}
.btn-generate {
    border-radius: 8px;
    border-width: 1px;
    height: 1.5em;
    border-color: #d3d1c7;
    border-radius: 8px;
    margin-left: auto;
    border-radius: 8px;
}

#vocabulary {
    border-radius: 8px;
    border-width: 1px;
    height: 1.5em;
    border-color: #d3d1c7;
}

.error-message {
    color: red;
    min-height: 20px;
    margin: 0px;
    width: 480px;
    display: inline-block;
}

.input-section {
    width: auto;
    overflow: hidden;
}

textarea#signInput {
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    min-height: 40px;
    padding: 4px;
    border: 1px 1px 1px 1px;
    border-color: #d3d1c7;
}

.language-controls {
    display: flex;
}

.vocabulary#vocabulary {
    border-radius: 8px;
    box-sizing: border-box;
    margin: 1px 1px 1px 1px;
}

.vocabulary, .btn-generate {
    display: inline-block;
}

.widget-container {
    width: 100%;
    max-width: 460px;
}

select[id*="sign2me-camera"], select[id*="sign2me-fps"] {
    border-radius: 8px;
    border-width: 1px;
    height: 1.5em;
    border-color: #d3d1c7;
    margin: 0px 0px 0px 2px;
}

button[id*="sign2me-saveAnimation"] {
    border-radius: 8px;
    border-width: 1px;
    height: 1.5em;
    border-color: #d3d1c7;
}

