html {
    margin:    0 auto;
    max-width: 900px;
}

body {
    margin: 0px 0px;
}

#menu ul {
    text-align: left;
    display: inline;
    margin: 0;
    padding: 15px 4px 17px 0;
    list-style: none;
}
#menu li {
    float: left;
    margin: 0px 10px 0px 10px;
}
#menu li.ui-state-hover {
    margin: -1px 10px -1px 10px;
}
#menu li a {
    display: block;
    text-decoration: none;
}


.menu li ul {
    display: none;
    position: absolute;
}
.menu li ul li {
    display: block;
    float:none;
}
li.ui-menu-item.ui-state-hover {
    margin: 0px;
}

div.home {
    padding-top: 350px;
}

div.subpage {
    padding-top: 200px;
    padding-left: 2px;
    padding-right: 2px;
}

header.home img{
    width:800px;
}

header.subpage img {
    width: 400px;
}

footer{
    position: absolute;
    height: 50px;
    bottom: 0px;
}

header{
    padding-top: 20px;
    position: fixed;
    width: 900px;
}

table {
    border-collapse: collapse;
}

thead td {
    border-bottom: 3px double darkgray;
    border-left: 1px solid darkgray;
    border-top: 1px solid darkgray;
    border-right: 1px solid darkgray;
    border-spacing: 0;
    padding: 0.5em 1em;
}
tbody td{
    border: 1px solid darkgray;
    border-spacing: 0;
    padding: 0.5em 1em;
}

@media (prefers-color-scheme: light) {
    header{
        background-color: white;
    }
    #menu li a:link {
        color:black;
    }

    #menu li a:visited {
        color:darkgrey;
    }
    .ui-widget-header {
        border-bottom: 1px solid black;
        border-top: 1px solid black;
    }
}

@media (prefers-color-scheme: dark) {
    header{
        background-color: black;
    }

    body {
        background-color: black;
        color:lightgray;
    }

    #menu li a:link {
        color:white;
    }

    #menu li a:visited {
        color:lightgray;
    }
    .ui-widget-header {
        border-bottom: 1px solid lightgrey;
        border-top: 1px solid lightgrey;
    }
}

/* Custom styles for the table */
#decodeTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.hidden {
    display:none;
}

#decodeTable th, #decodeTable td {
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

#decodeTable th {
    background-color: #f9fafb;
    font-weight: 600;
}

#decodeTable tbody tr:hover {
    background-color: #f3f4f6;
}

.error-message {
    color: #dc2626;
    background-color: #fee2e2;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
    border: 1px solid #fecaca;
    font-family: 'Inter', sans-serif;
}

.input-area {
    margin-bottom: 1rem;
}

.button {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    color: #fff;
    background-color: #3b82f6;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    box-shadow: 0 0 5px #909090;
}
.button:hover {
    background-color: #2563eb;
}
.button:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}
.heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
.register-value{
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
#registerSelect {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
    focus:ring focus:ring-blue-200 focus:border-blue-300;
}

#commandInput {
    width: 880px;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
    focus:ring focus:ring-blue-200 focus:border-blue-300;
}