
:root {
    --font-size-regular: 16px;
    --font-size-menu: 28px;
    --accent-color-bright: #bf1616;
    --accent-color-dark: #7c0d0d;
    --accent-color-active: #c10d0d;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #aeaeae;
}

button {
    box-sizing: border-box;
    font-size: var(--font-size-regular);
    background-color: #c63b3b;
    border-radius: 5px;
    border: none;
    color: white;
    padding: 10px 20px;
    transition-duration: 0.4s;
    margin: 10px 5px;
}

button:hover {
    background-color: #8f2323;
}

button:active {
    background-color: #491212;
}

label {
    white-space: nowrap;
}

.full-width {
    width: 100%;
    padding: 10px 0;
}

.flex-horizontal {
    display: flex;
}

.flex-vertical {
    display: flex;
    flex-direction: column;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    display: none;
}

.overlay-content {
    background-color: #aeaeae;
    max-width: 1200px;
    margin: 20px auto;
    padding: 10px 20px;
    border-radius: 5px;
}

.hidden {
    display: none !important;
}

#main_content {
    margin: 10px auto;
    padding: 0 20px 0 20px;
    max-width: 1200px;
}

#navbar {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    display: flex;
    align-items: center;
}

#navbar ul li {
    height: 50px;
}

#navbar ul li.spacer {
    margin-left: auto;
}

#navbar ul li img {
    height: 50px;
    width: auto;
    display: block;
    margin-right: 10px;
}

#user-display {
    height: 50px;
    display: flex;
    align-items: center;
    align-self: center;
    color: #970000;
    margin: 0 10px 0 0;
}

#navbar ul li a {
    display: flex;
    align-items: center;
    color: #000000;
    padding: 0 15px;
    height: 100%;
    background-color: #ffffff;
    text-decoration: none;
    transition-duration: 0.4s;
}

#navbar ul li a:has(img) {
    padding: 0;
}

#navbar ul li a:has(img):hover {
    padding: 0;
    background-color: #ffffff;
}

#navbar ul li a:hover {
    background-color: #f17c7c;
}

#navbar ul li a.active {
    background-color: var(--accent-color-active);
    color: white;
}

#navbar ul li a .notification-count-circle {
    background-color: var(--accent-color-active);
}

#navbar ul li a .notification-count-circle p {
    color: white;
}

#navbar ul li a.active .notification-count-circle {
    background-color: white;
}

#navbar ul li a.active .notification-count-circle p {
    color: var(--accent-color-active);
}



#title_text {
    color: white;
    background-color: red;
    font-family: Noto Sans, sans-serif;
    font-size: var(--font-size-regular);
    padding: 0px 10px;
}

.category-container {
    padding: 5px 10px 10px 10px;
    margin: 10px 5px;
    border: none;
    border-radius: 5px;
    background-color: var(--accent-color-dark);
    color: white;
}

.category-container h3 {
    margin: 5px;
}


.category-container h4 {
    margin: 0 0 20px 5px;
}

.category-container select {
    font-size: var(--font-size-regular);
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    border: none;
    width: 100%;
}

.category-container input {
    font-size: var(--font-size-regular);
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    border: none;
    width: 100%;
}

.category-container-content {
    display: flex;
    flex: 1 1 300px;
    flex-wrap: wrap;
}

.category-container-content-list {
    flex-direction: column;
}

.back-btn {
    margin-right: 10px;
}

.back-btn h3{
    margin: 0;
    padding: 0;
    color: white;
}

.menu-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: 70vh;
    grid-auto-rows: 1fr;
}

.menu-grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: var(--accent-color-bright);
    color: white;
    font-size: var(--font-size-menu);;
    text-decoration: none;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.menu-grid-item:hover {
    background-color: var(--accent-color-dark);
}

.row-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-grow: 1;
}

.row-container button {
    width: auto;
    padding: 10px;
    background-color: rgba(0,0,0,0.1);
}

.row-container button:hover {
    background-color: rgba(0,0,0,0.3)
}

.row-container-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.row-container-top button {
    width: auto;
    padding: 10px 20px;
}

.row-item {
    margin: 5px;
}

.tab-select {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.tab-link {
    margin: 0;
    background-color: inherit;
    border-width: 5px 0 0 0;
    border-radius: 0;
    border-style: solid;
    border-color: #420000;
    color: #ccc;
}

.tab-link:first-child {
    border-radius: 5px 0 0 5px;
}

.tab-link:last-child {
    border-radius: 0 5px 5px 0;
}

.tab-link.active {
    color: white;
    border-width: 5px 0 0 0;
    border-color: white;
    background-color: var(--accent-color-bright);
}

.notification-count-circle {
    background-color: rgba(15,15,15,0.38);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-count-circle p {
    margin: 0;
    padding: 0;
}

.grid-2cols {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
}

.grid-2cols textarea {
    margin: 10px;
}

.grid-item {
    box-sizing: border-box;
}

.table-button {
    width: 100%;
    height: 100%;
    margin: 0 5px;
    padding: 5px 0;
    font-size: 1rem;
}

.table-button:hover {
    background-color: #7c0d0d;
}

.accept-button {
    background-color: #00ca28 !important;
}

.accept-button:hover {
    background-color: #006c13 !important;
}

.deny-button {
    background-color: #cf0000 !important;
}

.deny-button:hover {
    background-color: #590000 !important;
}

.table-actions {
    display: inline-flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
}

.entry-form-row {
    display: flex;
    flex: 1 0 300px;
    /*overflow: clip;*/
    align-items: center;
    background-color: rgba(255, 0, 0, 0.18);
    border-radius: 5px;
    margin: 5px;
}

.entry-form-row-child {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 5px;
}

.entry-form-row input {
    min-width: 150px;
    width: 100%;
    margin: 10px;
}

.entry-form-row select {
    min-width: 150px;
    width: 100%;
    margin: 10px;
}

.entry-form-row label {
    margin: 5px;
}

.entry-form-row input[type="checkbox"] {
    transform: scale(3);
    min-width: auto;
    width: auto;
    margin-left: 50px;
    margin-right: 50px;

}

.entry-form-row-fixed-color {
    display: flex;
    flex: 1 0 300px;
    overflow: clip;
    align-items: center;
}

.entry-form-row-fixed-color input {
    margin: 10px;
}

.entry-form-label-double {
    display: flex;
    flex-direction: column;
    margin: 20px;
}

.entry-form-label-double span {
    white-space: nowrap;
}

.entry-form-label-double h6 {
    margin: 0 0 5px 0;
}

.entry-form-row-container {
    align-items: center;
    display: inline-flex;
    flex: 1 1 auto;
    white-space: nowrap;
    margin-right: 10px;
    border-radius: 5px;
    width: auto;
}

.entry-form-row-prefix-text {
    margin-left: 10px;
    margin-right: -5px;
}

.entry-form-row-suffix-text {
    margin-left: -5px;
    margin-right: 10px;
}

.form-editor-node-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    background-color: rgba(204, 92, 30, 0.21);
    transition-duration: 0.4s;
}

.form-editor-node-container label {
    margin-right: 5px;
}

.form-editor-node-container input {
    margin-right: 5px;
}

.form-editor-node-container.expanded {
    background-color: rgba(10, 12, 151, 0.21);
}

.hideable {
    position: absolute;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.35s ease, opacity 0.2s ease;
    height: 0;
}

.hideable.expanded {
    height: auto;
    position: revert;
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

.sub-information-container {
    display: flex;
    flex-wrap: wrap;
}

.add-button {
    width: auto;
    padding: 10px 20px;
}