h1 {
    color: red;
    font: blackletter;
}

h2 {
    color: red;
    font: blackletter;
}

body {
    box-sizing: border-box;
    width: 100%;
    margin: 5px auto;
    padding: 16px;
    font-size: 16px;
    text-align: center;
}

body.login-body {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 16px;
}

#loginPage {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 28rem;
    margin: 5px auto;
}

#loginPage input,
#loginPage button {
    box-sizing: border-box;
    width: 100%;
}

#loginButton {
    align-items: center;
    justify-content: center;
}

input {
    font-size: 16px;
    min-height: 44px;
    
    
    
}

button {
    font-size: 16px;
    min-height: 44px;
    margin: 10px 0; 
    padding: 10px;
    cursor: pointer;
    background-color: #e4180a;
    color: white;
    border: none;
    border-radius: 5px;
    box-shadow: -2px 2px 5px 0 #000000;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

button:hover {
    background-color: #c01f0a;
}

button:active {
    transform: scale(0.98);
}

p {
    text-align: center;
}
#test {
    background-color: lightskyblue;
    padding: 10px;
    border: 1px solid black;
    border-radius: 5px;
}

#dashboard {
    font: blackletter;
    background-color: lightgrey
}
.header {
    display: flex;
    flex-direction: column;
    gap: 10px
}

@media (min-width: 768px) {
    .header {
        flex-direction: row;
    }
}

#menu {
    background-color: lightpink;
    padding: 10px;
    border: none;
    box-shadow: -2px 2px 5px 1px #000000;
    border-radius: 5px;
    margin: 20px;
}

#menuLabel {
    color: black;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    
}

.column {
    flex: 1;
    
    box-shadow: -2px 2px 5px 1px #000000;
    gap: 10px;
}

@media (min-width: 768px) {
    .container {
        flex-direction: row;
    }
    body {
        width: 50%;
    }
}

.legTagResult {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: grey;
    padding: 10px;
    box-shadow: -2px 2px 5px 1px #000000;
    gap: 10px;
    margin: 10px;
    border-radius: 4px;

}

.tagProperties {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 0px 10px 0px 10px;
    background-color: #c62828;
    width: 75%;
    min-height: 44px;
    border: 1px solid #7a1616;
    border-radius: 4px;
    box-shadow: -2px 2px 5px 1px #000000;
    align-items: center;
}

.tagResultTitle {
    color: white;
    min-width: 50px;
    
}

.tagResultText {
    color: black;
    background-color: white;
    padding: 5px;
    min-height: 75%;
    border-radius: 4px;
    box-shadow: -2px 2px 5px 1px #000000;
}

.notificationBox {
    position: fixed;
    inset: auto;
    top: 16px;
    right: 16px;
    margin: 0;
    z-index: 1000;
    width: min(360px, calc(100vw - 32px));
    box-sizing: border-box;
    padding: 12px 16px;
    color: #fff;
    background-color: #245c3a;
    border: 1px solid #173d26;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgb(0 0 0 / 25%);
    text-align: left;
    opacity: 0;
    transform: translateX(calc(100% + 16px));
    transition: opacity 300ms ease, transform 700ms ease-out;
}

.notificationBox.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.notificationBox.is-fading {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .notificationBox {
        transition-duration: 0.01ms;
    }
}

.notificationBox[hidden] {
    display: none;
}

.notificationBox.is-error {
    background-color: #9f2525;
    border-color: #711919;
}

.legTagResultText {
    min-width: 0;
    gap: 10px;
    color: white;
}

.legTagResultActions {
    display: flex;
    gap: 8px;
}

.legTagDeleteButton {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    color: white;
    background-color: #c62828;
    border: 2px solid #7a1616;
    border-radius: 4px;
}

.legTagEditButton {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    color: white;
    background-color: #c62828;
    border: 2px solid #7a1616;
    border-radius: 4px;
    flex-direction: row;
}

.legTagDeleteButton:hover {
    background-color: #a61e1e;
}

.legTagDeleteButton:focus-visible {
    outline: 3px solid #111;
    outline-offset: 2px;
}

#legTagResults {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.editDialog {
    width: min(420px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    box-sizing: border-box;
    padding: 24px;
    border: 1px solid #555;
    border-radius: 6px;
    box-shadow: 0 12px 36px rgb(0 0 0 / 30%);
}

.editDialog::backdrop {
    background: rgb(0 0 0 / 60%);
}

.editForm {
    display: grid;
    gap: 10px;
    text-align: left;
}

.editForm h2 {
    margin: 0 0 8px;
}

.editForm input,
.editForm textarea {
    box-sizing: border-box;
    width: 100%;
}

.editForm textarea {
    font: inherit;
    padding: 10px;
}

.editDialogActions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

.editDialogActions button {
    margin: 0;
}

#bodyLegTagDatabase {
    gap: 10px;
    display: flex;
}