:root {
    --main-background: rgba(31, 35, 41, 0.95);
    --main-yellow: #FFE500;
    --accent-yellow: #ffbf00;
}

html {
    overscroll-behavior: none;
}

* {
    outline: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen-Sans, Ubuntu, Cantarell,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: var(--main-background);
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100svh - 20px);
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    overscroll-behavior: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="tel"], #scan-selection {
    width: 100%;
    padding: 10px;
    height: 35px;
    margin-bottom: 10px;
    border: 2px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 16px;
}

#scan-selection {
    padding: 0;
    padding-left: 5px;
}

input[type="text"]:not([disabled]):hover,
input[type="password"]:not([disabled]):hover,
input[type="email"]:not([disabled]):hover,
input[type="number"]:not([disabled]):hover,
input[type="tel"]:not([disabled]):hover {
    border: 2px solid var(--main-yellow);
    transition: border 0.5s;
}

input:disabled {
    color: whitesmoke;
    background-color: var(--main-background);
}

.invisible {
    position: absolute;
    left: -110%;
}

button:not(:disabled) {
    cursor: pointer;
}

#body-content {
    position: relative;
    display: grid;
    grid-template-rows: 110px 0 auto 70px 25px;
    width: 100%;
    height: calc(100% - 20px);
}

#submit-form, #template-submit-form {
    display: flex;
    flex-direction: column;
}

#record-text {
    text-align: center;
    color: whitesmoke;
    border-top: 4px solid #686868;
    border-bottom: 4px solid #686868;
    padding-bottom: 25px;
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 1rem;
}

#offline-data-sync {
    display: none;
    position: absolute;
    cursor: pointer;
    left: 5px;
    top: 55px;
    height: 25px;
}

#app-name {
    font-size: 36px;
    font-weight: bold;
    color: whitesmoke;
}

#logged-in-username {
    position: absolute;
    font-size: 16px;
    font-weight: bold;
    transform: translateY(18px);
    cursor: pointer;
}

#login-text-container {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
}

#pda-container {
    justify-content: center;
    align-items: center;
    display: flex;
    margin-bottom: 20px;
    font-weight: bold;
}

#pda_mode_label {
    color: white;
    margin-right: 5px;
}

#company-name {
    font-size: 14px;
    color: whitesmoke;
    text-align: center;
    margin-top: 5px;
    font-weight: bold;
}

#login-form, #template-form, #logout-user, #dialog-container,
#pending-scans-dialog, #last-scans-dialog {
    position: absolute;
    z-index: 100;
    border-radius: 20px;
    background-color: var(--main-background);
    border: 2px solid var(--main-yellow);
    padding: 20px;
}

#login-form, #template-form, #logout-user {
    width: min(300px, 75%);
}

#dialog-container, #pending-scans-dialog, #last-scans-dialog {
    width: calc(100% - 80px);
    max-width: max-content;
    min-width: min(calc(100% - 80px), 400px);
}

#dialog-container {
    max-height: calc(100% - 80px);
}

#pending-scans-dialog, #last-scans-dialog {
    max-height: 80svh;
}

#pending-scans-table-container, #last-scans-table-container {
    overflow: scroll;
    max-height: calc(80svh - 60px);
}

#pending-scans-table, #last-scans-table {
    width: 100%;
}

#login-form::backdrop, #template-form::backdrop, #logout-user::backdrop, #dialog-container::backdrop,
#pending-scans-dialog::backdrop, #last-scans-dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.75);
}

#login-text, #template-login-text, #logout-user-text {
    color: whitesmoke;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    -webkit-user-select: none;
    user-select: none;
}

#login-submit-button, #template-submit-button, #confirm-logout-user-button,
#cancel-logout-user-button, #reader-confirm-button, #reader-back-button,
#text-input-confirm-button, #text-input-back-button,
#number-input-confirm-button, #number-input-back-button,
#alert-confirm-button, #alert-retry-button,
#alert-back-button, #alert-confirm-and-next-button,
#selection-confirm-button, #selection-back-button,
#selectionlist-back-button, #selectionlist-confirm-button,
#photo-confirm-button, #photo-back-button {
    background-color: var(--main-yellow);
    color: #000;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 37px;
    font-size: 14px;
    font-weight: bold;
    font-family: inherit;
}

#logout-button-container, #reader-button-container, #photo-button-container,
#text-input-button-container, #number-input-button-container,
#selection-button-container, #selectionlist-button-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
}

#photo-button-container {
    margin-top: 15px;
}

#other-buttons {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#pending-scans-container {
    display: flex;
    justify-content: left;
    position: relative;
}

#last-scans-container {
    display: flex;
    justify-content: right;
    position: relative;
}

#pending-scans-text, #last-scans-text {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

#last-scans-cancel, #pending-scans-close-button {
    position: absolute;
    height: 0;
    width: 0;
    right: 40px;
    top: 10px;
    padding: 0;
    margin: 0;
    border-width: 0;
    outline: none;
}

#pending-scans-sync-button {
    position: absolute;
    height: 0;
    width: 0;
    left: 25px;
    top: 17px;
    padding: 0;
    margin: 0;
    border-width: 0;
    outline: none;
}

#last-scans-cancel::after, #pending-scans-close-button::after {
    content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzAiIHdpZHRoPSIzMCIgdmlld0JveD0iMCAwIDM4NCA1MTIiPjwhLS0hRm9udCBBd2Vzb21lIEZyZWUgNi41LjIgYnkgQGZvbnRhd2Vzb21lIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20gTGljZW5zZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tL2xpY2Vuc2UvZnJlZSBDb3B5cmlnaHQgMjAyNCBGb250aWNvbnMsIEluYy4tLT48cGF0aCBkPSJNMzQyLjYgMTUwLjZjMTIuNS0xMi41IDEyLjUtMzIuOCAwLTQ1LjNzLTMyLjgtMTIuNS00NS4zIDBMMTkyIDIxMC43IDg2LjYgMTA1LjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwcy0xMi41IDMyLjggMCA0NS4zTDE0Ni43IDI1NiA0MS40IDM2MS40Yy0xMi41IDEyLjUtMTIuNSAzMi44IDAgNDUuM3MzMi44IDEyLjUgNDUuMyAwTDE5MiAzMDEuMyAyOTcuNCA0MDYuNmMxMi41IDEyLjUgMzIuOCAxMi41IDQ1LjMgMHMxMi41LTMyLjggMC00NS4zTDIzNy4zIDI1NiAzNDIuNiAxNTAuNnoiIGZpbGw9IiNmZjAwMDAiLz48L3N2Zz4");
}

.td-scan, .td-pending-scan {
    color: white;
    border-top: 1px dashed white;
    padding: 10px;
}

.td-pending-scan-dt {
    color: darkgray;
}

.td-pending-scan-sync {
    color: white;
    border-top: 1px dashed white;
    cursor: pointer;
}

.td-pending-scan-sync::after, #pending-scans-sync-button::after, #offline-data-sync {
    content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjAiIHdpZHRoPSIyMCIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjwhLS0hRm9udCBBd2Vzb21lIEZyZWUgNi42LjAgYnkgQGZvbnRhd2Vzb21lIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20gTGljZW5zZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tL2xpY2Vuc2UvZnJlZSBDb3B5cmlnaHQgMjAyNCBGb250aWNvbnMsIEluYy4tLT48cGF0aCBkPSJNMTQyLjkgMTQyLjljLTE3LjUgMTcuNS0zMC4xIDM4LTM3LjggNTkuOGMtNS45IDE2LjctMjQuMiAyNS40LTQwLjggMTkuNXMtMjUuNC0yNC4yLTE5LjUtNDAuOEM1NS42IDE1MC43IDczLjIgMTIyIDk3LjYgOTcuNmM4Ny4yLTg3LjIgMjI4LjMtODcuNSAzMTUuOC0xTDQ1NSA1NWM2LjktNi45IDE3LjItOC45IDI2LjItNS4yczE0LjggMTIuNSAxNC44IDIyLjJsMCAxMjhjMCAxMy4zLTEwLjcgMjQtMjQgMjRsLTguNCAwYzAgMCAwIDAgMCAwTDM0NCAyMjRjLTkuNyAwLTE4LjUtNS44LTIyLjItMTQuOHMtMS43LTE5LjMgNS4yLTI2LjJsNDEuMS00MS4xYy02Mi42LTYxLjUtMTYzLjEtNjEuMi0yMjUuMyAxek0xNiAzMTJjMC0xMy4zIDEwLjctMjQgMjQtMjRsNy42IDAgLjcgMEwxNjggMjg4YzkuNyAwIDE4LjUgNS44IDIyLjIgMTQuOHMxLjcgMTkuMy01LjIgMjYuMmwtNDEuMSA0MS4xYzYyLjYgNjEuNSAxNjMuMSA2MS4yIDIyNS4zLTFjMTcuNS0xNy41IDMwLjEtMzggMzcuOC01OS44YzUuOS0xNi43IDI0LjItMjUuNCA0MC44LTE5LjVzMjUuNCAyNC4yIDE5LjUgNDAuOGMtMTAuOCAzMC42LTI4LjQgNTkuMy01Mi45IDgzLjhjLTg3LjIgODcuMi0yMjguMyA4Ny41LTMxNS44IDFMNTcgNDU3Yy02LjkgNi45LTE3LjIgOC45LTI2LjIgNS4yUzE2IDQ0OS43IDE2IDQ0MGwwLTExOS42IDAtLjcgMC03LjZ6IiBmaWxsPSIjZmZmIiAvPjwvc3ZnPg==");
}

.td-pending-scan-delete {
    color: white;
    border-top: 1px dashed white;
    cursor: pointer;
}

.td-pending-scan-delete::after {
    content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzAiIHdpZHRoPSIzMCIgdmlld0JveD0iMCAwIDM4NCA1MTIiPjwhLS0hRm9udCBBd2Vzb21lIEZyZWUgNi41LjIgYnkgQGZvbnRhd2Vzb21lIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20gTGljZW5zZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tL2xpY2Vuc2UvZnJlZSBDb3B5cmlnaHQgMjAyNCBGb250aWNvbnMsIEluYy4tLT48cGF0aCBkPSJNMzQyLjYgMTUwLjZjMTIuNS0xMi41IDEyLjUtMzIuOCAwLTQ1LjNzLTMyLjgtMTIuNS00NS4zIDBMMTkyIDIxMC43IDg2LjYgMTA1LjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwcy0xMi41IDMyLjggMCA0NS4zTDE0Ni43IDI1NiA0MS40IDM2MS40Yy0xMi41IDEyLjUtMTIuNSAzMi44IDAgNDUuM3MzMi44IDEyLjUgNDUuMyAwTDE5MiAzMDEuMyAyOTcuNCA0MDYuNmMxMi41IDEyLjUgMzIuOCAxMi41IDQ1LjMgMHMxMi41LTMyLjggMC00NS4zTDIzNy4zIDI1NiAzNDIuNiAxNTAuNnoiIGZpbGw9IiNmZjAwMDAiLz48L3N2Zz4");
}

.scan-action-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.scan-action-button {
    border-radius: 20px;
    min-height: max(50px, 8svh);
    max-height: 15svh;
    height: calc(100% - 20px);
    width: 100%;
    border: 2px solid #FFE500;
    background-color: rgb(91 98 109);
    color: white;
    font-weight: bold;
    font-family: inherit;
    font-size: 1.2rem;
    margin-top: 5px;
    margin-bottom: 0;
}

.scan-button {
    border-radius: 20px;
    height: 50px;
    width: min(150px, 80%);
    border: 2px solid #FFE500;
    background-color: rgb(91 98 109);
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: inherit;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 15px;
    margin-left: 15px;
}

#scan-options-title {
    position: relative;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    margin-left: 30px;
    height: 20px;
    z-index: 10;
    width: 82px;
    background-color: #2a2e33;
    padding-left: 4px;
    padding-right: 4px;
}

#scan-options-container {
    position: relative;
    border: 4px solid #686868;
    margin-top: 15px;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 5px;
    border-radius: 20px;
    overflow: auto;
    height: auto;
    gap: 3svw;
}

@media (min-width: 600px) and (max-width: 1100px) {
    #scan-options-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1101px) {
    #scan-options-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

#scan-request-inventory, #scan-request-inventory-manual {
    background-color: transparent;
}

/* Selection styles */
#selection-dialog {
    display: none;
    grid-template-rows: 50px auto;
}

#selection-input {
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDIwIDIwIj48cG9seWxpbmUgcG9pbnRzPSI1IDcgMTAgMTIgMTUgNyIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=')
                no-repeat right 8px center;
    background-color: white;
}

/* Selectionlist styles */
#selectionlist-dialog {
    display: none;
    grid-template-rows: 50px auto;
}

#selectionlist-content {
    overflow: scroll;
    max-height: 60svh;
}

#selectionlist-table {
    color: white;
    width: 100%;
    margin-bottom: 10px;
    border-collapse: collapse;
    user-select: none;
    -webkit-user-select: none;
}

.selectionlist-textalign-left {
    text-align: left;
    padding-right: 10px;
}

.subselectionlist-textalign-left {
    text-align: left;
    padding-right: 10px;
    padding-left: 10px;
}

.selectionlist-textalign-right {
    text-align: right;
    padding-left: 12px;
    padding-right: 12px;
}

.subselectionlist-textalign-right {
    text-align: right;
    padding-left: 12px;
    padding-right: 12px;
}

th.selectionlist-textalign-right,
th.selectionlist-textalign-left,
th.subselectionlist-textalign-right,
th.subselectionlist-textalign-left {
    padding-bottom: 5px;
}

td.selectionlist-textalign-right,
td.selectionlist-textalign-left {
    border-top: 2px solid white;
    padding-top: 10px;
    padding-bottom: 10px;
    text-wrap: nowrap;
}

.selectionlist-tr {
    cursor: pointer;
}

.selectionlist-disabled {
    color: lightgray;
}

/* Alert input styles */
#alert-dialog {
    display: none;
    grid-template-rows: 50px auto 110px;
}

#alert-button-container {
    display: grid;
    grid-template:
        "cancel confirm"
        "retry confirmandnext" / 1fr 1fr;
    grid-gap: 15px;
}

#alert-back-button {
    grid-area: cancel;
}

#alert-retry-button {
    grid-area: retry;
}

#alert-confirm-button {
    grid-area: confirm;
}

#alert-confirm-and-next-button {
    grid-area: confirmandnext;
}

/* Text input styles */
#text-input-dialog {
    display: none;
    grid-template-rows: 50px auto;
}

/* Number input styles */
#number-input-dialog {
    display: none;
    grid-template-rows: 50px auto;
}

/* Number input styles */
#photo-dialog {
    display: none;
    grid-template-rows: 50px auto;
}

/* Barcode reader styles */
#reader-dialog {
    display: none;
    grid-template-rows: 50px auto 130px;
}

#reader {
    width: unset !important;
    max-height: 50svh;
    border: unset !important;
    border-radius: 20px !important;
    padding: 0 !important;
    overflow: hidden;
}

#photo-canvas, #photo {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

#photo-canvas {
    display: none;
}

#reader-title-container, #text-input-title-container,
#number-input-title-container, #alert-title-container,
#selection-title-container, #selectionlist-title-container,
#photo-title-container {
    position: relative;
}

#reader-title, #text-input-title,
#number-input-title, #alert-title,
#selection-title, #selectionlist-title, #photo-title {
    position: relative;
    color: white;
    font-weight: 600;
    font-size: 24px;
    text-align: center;
}

#reader-cancel-button, #text-input-cancel-button,
#number-input-cancel-button, #alert-cancel-button,
#selection-cancel-button, #selectionlist-cancel-button,
#photo-cancel-button {
    position: absolute;
    right: 0;
    top: 0;
    margin-top: -10px;
    margin-right: -10px;
    cursor: pointer;
}

#reader-cancel-button::after, #text-input-cancel-button::after,
#number-input-cancel-button::after, #alert-cancel-button::after,
#selection-cancel-button::after, #selectionlist-cancel-button::after,
#photo-cancel-button::after {
    content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzAiIHdpZHRoPSIzMCIgdmlld0JveD0iMCAwIDM4NCA1MTIiPjwhLS0hRm9udCBBd2Vzb21lIEZyZWUgNi41LjIgYnkgQGZvbnRhd2Vzb21lIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20gTGljZW5zZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tL2xpY2Vuc2UvZnJlZSBDb3B5cmlnaHQgMjAyNCBGb250aWNvbnMsIEluYy4tLT48cGF0aCBkPSJNMzQyLjYgMTUwLjZjMTIuNS0xMi41IDEyLjUtMzIuOCAwLTQ1LjNzLTMyLjgtMTIuNS00NS4zIDBMMTkyIDIxMC43IDg2LjYgMTA1LjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwcy0xMi41IDMyLjggMCA0NS4zTDE0Ni43IDI1NiA0MS40IDM2MS40Yy0xMi41IDEyLjUtMTIuNSAzMi44IDAgNDUuM3MzMi44IDEyLjUgNDUuMyAwTDE5MiAzMDEuMyAyOTcuNCA0MDYuNmMxMi41IDEyLjUgMzIuOCAxMi41IDQ1LjMgMHMxMi41LTMyLjggMC00NS4zTDIzNy4zIDI1NiAzNDIuNiAxNTAuNnoiIGZpbGw9IiNmZjAwMDAiLz48L3N2Zz4");
}

#photo-camera-roll-button {
    position: absolute;
    left: 0;
    top: 0;
    margin-top: -3px;
    cursor: pointer;
    z-index: 10;
}

#photo-camera-roll-button::after {
    content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjAiIHdpZHRoPSIyMCIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjwhLS0hRm9udCBBd2Vzb21lIEZyZWUgNi42LjAgYnkgQGZvbnRhd2Vzb21lIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20gTGljZW5zZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tL2xpY2Vuc2UvZnJlZSBDb3B5cmlnaHQgMjAyNCBGb250aWNvbnMsIEluYy4tLT48cGF0aCBkPSJNNDQ4IDgwYzguOCAwIDE2IDcuMiAxNiAxNmwwIDMxOS44LTUtNi41LTEzNi0xNzZjLTQuNS01LjktMTEuNi05LjMtMTktOS4zcy0xNC40IDMuNC0xOSA5LjNMMjAyIDM0MC43bC0zMC41LTQyLjdDMTY3IDI5MS43IDE1OS44IDI4OCAxNTIgMjg4cy0xNSAzLjctMTkuNSAxMC4xbC04MCAxMTJMNDggNDE2LjNsMC0uM0w0OCA5NmMwLTguOCA3LjItMTYgMTYtMTZsMzg0IDB6TTY0IDMyQzI4LjcgMzIgMCA2MC43IDAgOTZMMCA0MTZjMCAzNS4zIDI4LjcgNjQgNjQgNjRsMzg0IDBjMzUuMyAwIDY0LTI4LjcgNjQtNjRsMC0zMjBjMC0zNS4zLTI4LjctNjQtNjQtNjRMNjQgMzJ6bTgwIDE5MmE0OCA0OCAwIDEgMCAwLTk2IDQ4IDQ4IDAgMSAwIDAgOTZ6IiBmaWxsPSIjZmZmIiAvPjwvc3ZnPg==");
}

#number-input-title-container {
    display: grid;
    grid-template-columns: 1fr 5fr 1fr;
}

#number-input-minus {
    color: white;
    font-weight: bold;
    display: grid;
    justify-content: center;
    align-items: center;
    border: 2px solid #FFE500;
    height: 35px;
    width: 40px;
    border-radius: 10px;
}

#alert-content, #text-input-content {
    color: white;
    text-align: center;
    margin-bottom: 15px;
}

#reader__scan_region {
    height: 100%;
}

#reader-scanned-barcode-title {
    font-weight: bold;
}

#reader-scanned-barcode {
    display: grid;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

#html5-qrcode-button-camera-permission {
    color: white;
    font-weight: bold;
    border: 2px solid #FFE500;
    background-color: rgb(91 98 109);
    height: 40px;
    border-radius: 20px;
    width: 100%;
}

#reader__dashboard, #reader__header_message, #html5-qrcode-button-camera-permission,
#html5-qrcode-button-camera-start, #html5-qrcode-button-camera-stop {
    display: none !important;
}

img[alt="Info icon"] {
    display: none;
}

img[alt="Camera based scan"] {
    filter: invert(100%);
    transform: translateY(100%);
}

#reader__scan_region > video {
    border-radius: 10px;
    height: 100%;
}

/* Notification styles */
.notification-container {
    display: block;
    position: fixed;
    top: 20px;
    right: -350px;
    max-height: 50%;
    min-width: 250px;
    width: 300px;
    max-width: 300px;
    transition: right 0.3s ease-in-out;
    z-index: 9999;
    visibility: hidden;
}

.notification-container.active {
    visibility: visible;
    -webkit-animation: fadeIn 0.5s;
    animation: fadeIn 0.5s;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.notification-container.active {
    opacity: 1;
}

#notification {
    position: relative;
    background-color: var(--main-background);
    border: 2px solid var(--accent-yellow);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    -webkit-user-select: none;
    user-select: none;
    padding: 10px 20px 30px;
}

.notification-progress-container {
    width: 100%;
    height: 5px;
    bottom: 0;
    left: 0;
    border-radius: 10px;
}

.notification-progress {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #007bff;
    transition: width 0.2s ease-in-out; /* Smooth width transition */
    border-radius: 5px;
}

/* End notification styles */

/* Customize the scrollbar width and color */
::-webkit-scrollbar {
    width: 5px;
    height: 0;
}

/* Customize the scrollbar track color */
::-webkit-scrollbar-track {
    background: var(--main-background);
    border-radius: 10px;
    margin: 15px;
}

/* Customize the scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
    margin: 15px;
}