:root {
    --color-primary: #122940;
    --color-primary-hover: #0d1f31;
    --color-border: #dbdbdb;
    --color-btn-primary: #2f4861;
    --color-btn-danger: #9d3434;
    --color-btn-nav: #b9b9b9;
    --color-surface-base: #ebebeb;
    --color-surface-alt: #cdcdcd;
    --color-surface-muted: #8d8d8d;
    --color-surface-muted-hover: #797979;
    --color-background-overlay: #000000d9;
    --color-background-overlay-secondary: #00000030;
    --color-btn-sign: #4da6ff2b;
    --color-feedback-success: #006300;
    --color-feedback-error: #930000;
    --color-background-input-login: #f7f7f7;
    --color-grey-input-login: #a5a5a5;
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 10px;
    --radius-2xl: 12px;
    --radius-12xl: 24px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    background-color: var(--color-surface-base);
    font-family: DinNextLtProRegular;
    font-size: 1rem;
    padding-top: 70px;
}

body.overflow-hidden {
    overflow: hidden !important;
}

.body--expanded {
    padding-top: 98px;
}

main {
    padding: 0 5%;
    margin-top: 30px;
}

@font-face {
    font-family: DinNextLtProRegular;
    src: url("assests/fonts/DINNextLTPro-Regular.ttf");
}

@font-face {
    font-family: DinNextLtProLight;
    src: url("assests/fonts/DINNextLTPro-Light.otf");
}

@font-face {
    font-family: DinNextLtProBold;
    src: url("assests/fonts/DINNextLTPro-Bold.otf");
}

@font-face {
    font-family: DinNextLtProMedium;
    src: url("assests/fonts/DINNextLTPro-Medium.otf");
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: DinNextLtProBold;
    font-weight: unset !important;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

button,
select {
    cursor: pointer;
    border: none;
}

button {
    border-radius: var(--radius-md);
    border: none;
}

.scrollable-table {
    overflow-x: auto;
}

.hidden {
    display: none;
}

.button-disabled {
    opacity: 0.7;
    cursor: unset;
    pointer-events: none;
}

.font-bold {
    font-family: DinNextLtProBold;
}

.section-background {
    background-color: white;
    border-radius: var(--radius-xl);
    opacity: 0;
    animation: fadeIn 0.2s ease-in forwards;
}

.pagination {
    text-align: center;
}

.pagination button {
    background: var(--color-primary);
    width: 30px;
    height: 30px;
    color: white;
    font-family: DinNextLtProRegular;
    font-size: 1.25rem;
}

.btn-save {
    background-color: var(--color-btn-primary);
    color: white;
    font-family: DinNextLtProLight;
    font-size: 1.125rem;
    padding: 8px 16px;
    margin-right: 10px;
}

.btn-delete {
    background-color: var(--color-btn-danger);
    color: white;
    font-family: DinNextLtProLight;
    font-size: 1.125rem;
    padding: 8px 16px;
}

.text-green-500 {
    color: greenyellow !important;
}

table {
    width: 100%;
    text-align: center;
    border-spacing: 0 10px;
    text-wrap: nowrap;
}

table th,
table td {
    padding: 0 10px;
}

table td {
    height: 36px;
}

.table-delete {
    aspect-ratio: 1;
    background-color: var(--color-btn-danger);
    color: white;
    height: 36px;
    font-family: DinNextLtProLight;
    font-size: 1.5rem;
}

.code-container {
    width: fit-content;
    margin: auto;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.barcode-icon {
    border-radius: var(--radius-full);
    padding: 4px 10px;
    position: absolute;
    right: -36px;
}

.barcode-icon i {
    cursor: pointer;
}

.tooltip {
    background-color: var(--color-surface-alt);
    position: absolute;
    padding: 4px 16px;
    z-index: 1;
    border-radius: var(--radius-md);
    top: 30px;
    left: 5px;
    color: black;
    font-family: 'DinNextLtProRegular';
    font-weight: 100;
    opacity: 0;
    transition: opacity 0.2s ease;
    visibility: hidden;
}

.tooltip.visible {
    visibility: visible;
    opacity: 1;
}

.tooltip-triangle-up {
    position: absolute;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid var(--color-surface-alt);
    left: 8px;
    top: -10px;
}

.error {
    color: var(--color-btn-danger);
}

.header__main {
    width: 100%;
    background-color: var(--color-surface-alt);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 70px;
    align-items: center;
    position: absolute;
    top: 0;
    z-index: 2;
}

.header__main--fixed {
    position: fixed;
    transform: translateY(-100%);
    animation: slideDown 0.3s ease-in-out forwards;
}

.header__main--hidden {
    display: none;
}

.header__main--expanded {
    height: 98px;
}

.header__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex: 1;
    padding: 0 5%;
}

.header__logo nav {
    display: flex;
    gap: 20px;
    flex: 1;
    margin-left: 25px;
}

.header__logo-img {
    flex: 1;
    text-align: center;
}

.header__logo img {
    height: 100%;
    margin-left: 30px;
    margin-top: -25px;
    min-width: 174px;
    max-width: 232px;
}

.header__main i {
    border-radius: var(--radius-md);
    background-color: var(--color-btn-nav);
    padding: 10px;
    cursor: pointer;
}

.header__order {
    width: 100%;
    text-align: center;
    background-color: var(--color-surface-muted);
    font-family: DinNextLtProLight;
    max-height: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, max-height 0.8s ease-in-out;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.header__main--expanded .header__order {
    opacity: 1;
    max-height: 100px;
    padding: 4px 5%;
}

.header__desktop-content {
    gap: 20px;
    text-align: center;
    width: 206px;
    right: 5%;
    position: fixed;
    background-color: var(--color-surface-alt);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: var(--radius-xl);
    top: -50%;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transition: top 0.5s ease-in-out;
    z-index: 1;
}

.header__desktop--active {
    top: 80px;
}

.header__desktop--active-expanded {
    top: 108px;
}

.header__sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -100%;
    background-color: var(--color-surface-alt);
    width: 70vw;
    position: fixed;
    z-index: 4;
    box-shadow: rgba(99, 99, 99, 0.3) 0px 0px 8px 9px;
    transition: right 0.3s ease-in-out;
}

.header__sidebar--show {
    right: 0;
}

.header__sidebar nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
}

nav hr {
    width: 60%;
    border: none;
    background-color: var(--color-surface-muted);
    height: 1px;
    margin: 20px 0;
}

.header__sidebar-close {
    margin: 10px 10px 0 auto;
    font-family: DinNextLtProLight;
    font-size: 2rem;
    background-color: unset;
}

.header__sidebar-nav {
    width: 75%;
    text-decoration: none;
    padding: 10px 0;
    border-radius: var(--radius-md);
    font-family: DinNextLtProLight;
    font-size: 1.13rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    color: black;
}

.header__nav {
    font-family: DinNextLtProLight;
    text-decoration: none;
    border-radius: var(--radius-md);
    padding: 6px 12px;
    color: black;
}

.header__nav--active {
    background-color: var(--color-primary);
    color: white;
}

.header__sidebar-logout {
    width: 75%;
    background-color: var(--color-surface-base);
    color: black;
    font-size: 1.13rem;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: DinNextLtProLight;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header__sidebar-logout:hover {
    background-color: var(--color-surface-muted-hover);
}

.header__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    z-index: 3;
}

.header__overlay--show {
    opacity: 1;
    pointer-events: all;
}

.search {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search select {
    flex: 30;
    text-align: center;
    border-radius: var(--radius-md);
    font-family: DinNextLtProLight;
    font-size: 1rem;
    color: white;
    background-color: var(--color-primary);
    padding: 4px 0;
}

.search select option {
    background-color: var(--color-surface-base);
    color: black;
}

.search input {
    flex: 70;
}

.input-search {
    all: unset;
    background-color: white;
    border-radius: var(--radius-md);
    padding: 4px 10px;
    font-family: DinNextLtProLight;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.input-search::placeholder {
    font-family: DinNextLtProLight;
}

.suggested {
    padding: 10px;
    transition: background-color 0.5s ease;
}

.suggested__card {
    background-color: white;
    border-radius: var(--radius-12xl);
    cursor: pointer;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.5s ease forwards;
    box-shadow: rgba(99, 99, 99, 0.3) 0px 2px 8px 0px;
    padding: 5px 0;
}

.suggested__card div {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
}

.suggested__card p {
    margin: 2px 0;
}

.suggested__card span {
    font-family: DinNextLtProBold;
}

.detail {
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    gap: 15px;
}

.detail__row {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    gap: 20px;
}

.detail__col {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 10px;
}

.detail__label--extradata {
    background-color: var(--color-surface-alt);
    padding: 1px 6px;
    border-radius: var(--radius-sm);
    font-family: DinNextLtProRegular;
}

.detail__label:has(.detail__label--extradata) {
    margin-bottom: 8px;
}

.detail__input {
    all: unset;
    background-color: var(--color-surface-base);
    border-radius: var(--radius-sm);
    border: solid 1px var(--color-border);
    align-content: center;
    padding: 4px 10px;
    height: 30px;
}

.sheet {
    margin: 70px 0;
}

.sheet__title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.sheet__title button {
    height: 30px;
    width: 30px;
    background-color: var(--color-primary);
    color: white;
    font-family: DinNextLtProRegular;
    font-size: 1.5rem;
    margin-left: 10px;
}

.sheet__data {
    padding: 20px 0;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.sheet__row {
    background-color: var(--color-surface-base);
    border-radius: var(--radius-12xl);
    margin: 20px auto;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    padding: 10px 15px;
    box-shadow: rgba(99, 99, 99, 0.3) 0px 2px 3px 0px;
}

.sheet__row div:nth-of-type(1) {
    flex: 30;
    text-align: center;
    height: 60%;
}

.sheet__row div:nth-of-type(1) p {
    background-color: var(--color-primary);
    border-radius: var(--radius-md);
    color: white;
    width: 120px;
    margin: auto;
    padding: 4px 0;
}

.sheet__row div:nth-of-type(2) {
    display: flex;
    flex: 70;
    flex-wrap: wrap;
    height: 75%;
    flex-direction: column;
    gap: 2px;
}

.sheet__row div:nth-of-type(2) p {
    flex: 50%;
    margin-top: auto;
    margin-bottom: auto;
    font-family: DinNextLtProBold;
}

.sheet__row div:nth-of-type(2) span {
    font-family: DinNextLtProRegular;
}

.sheet__row div:nth-of-type(3) {
    text-align: center;
    flex: 10;
}

.sheet__empty {
    text-align: center;
}

.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-background-overlay);
    display: flex;
    flex-direction: column;
    padding: 130px 5% 32px 5%;
}

.modal__loading {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-background-overlay-secondary);
    z-index: 1;
}

.modal__header {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeIn 0.2s ease-out forwards;
}

.modal__header h4 {
    padding: 5px 0 5px 20px;
    background-color: white;
    border-radius: var(--radius-md);
    flex: 1;
    margin: 0;
}

.modal__header button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-surface-alt);
    font-family: DinNextLtProLight;
    font-size: 2rem;
    padding: 0;
    height: 100%;
    aspect-ratio: 1;
}

.modal__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 20px;
    border-radius: var(--radius-xl);
    position: relative;
    overflow-y: auto;
    max-height: 80vh;
    gap: 40px;
    opacity: 0;
    animation: fadeIn 0.2s ease-out forwards;
}

.modal__body::-webkit-scrollbar {
    display: none;
}

.modal__tabs {
    width: 100%;
    flex-direction: column;
    display: flex;
    gap: 10px;
}

.modal__tabs hr {
    width: 70%;
    margin: 5px auto;
    height: 1px;
    background-color: var(--color-surface-alt);
    border: none;
}

.modal__tab {
    padding: 10px 0;
    cursor: pointer;
    font-size: 1.125rem;
    transition: all 0.1s ease;
    background-color: var(--color-surface-base);
    font-family: DinNextLtProRegular;
    opacity: 0;
    animation: fadeIn 0.2s ease-in forwards;
}

.modal__tab--active {
    background-color: var(--color-primary);
    color: white;
}

.modal__sign {
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    background-color: var(--color-btn-sign);
    padding: 10px 0;
    cursor: pointer;
    font-size: 1.125rem;
    font-family: DinNextLtProRegular;
    opacity: 0;
    animation: fadeIn 0.2s ease-in forwards;
}

.modal__body .detail__row {
    margin-bottom: 20px;
}

.modal__form {
    width: 100%;
    opacity: 0;
    animation: fadeIn 0.2s ease-in forwards;
}

.modal__form-col {
    display: flex;
    flex-direction: column;
}

.modal__form-int {
    all: unset;
    border-radius: var(--radius-sm);
    border: solid 1px var(--color-border);
    padding: 0 5px;
    height: 32px;
}

.modal__form-int:focus {
    border: solid 1px var(--color-surface-muted);
}

.modal__form-slt {
    border-radius: var(--radius-sm);
    border: solid 1px var(--color-border);
    padding: 0 5px;
    font-size: 1rem;
    height: 32px;
    font-family: DinNextLtProRegular;
}

.modal__form textarea {
    padding: 5px;
    height: 104px;
}

.modal__actions {
    text-align: right;
}

.modal__form-technician,
.modal__form-future-place {
    flex: 1;
}

.day.active,
.month.active,
.year.active,
.decade.active {
    background-color: var(--color-primary) !important;
}

.day.today::before {
    border-bottom-color: var(--color-primary) !important;
}

.picker-switch::first-letter {
    text-transform: uppercase;
}

.date-container-months .month {
    text-transform: capitalize;
}

.tempus-dominus-widget .calendar-header {
    margin-bottom: 12px;
    margin-top: 15px;
}

.tempus-dominus-widget {
    border-radius: var(--radius-md) !important;
    padding: 6px !important;
}

[data-action="showHours"],
[data-action="showMinutes"] {
    background-color: var(--color-primary);
    color: white;
}

.file {
    width: 100%;
    opacity: 0;
    animation: fadeIn 0.2s ease-in forwards;
}

.file__upload,
.supply__addition {
    position: relative;
    border: 1px solid black;
    border-radius: var(--radius-xl);
    padding: 15px;
}

.file__btn-upload,
.supply__search button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    height: 30px;
    font-size: 1rem;
    font-family: DinNextLtProRegular;
}

.file__upload input {
    display: none;
}

.file__label,
.supply__label {
    position: absolute;
    top: -10px;
    padding: 0 10px;
    background-color: white;
}

.file__type,
.supply__search {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file__type select {
    background-color: var(--color-surface-base);
    border-radius: var(--radius-md);
    height: 30px;
    padding-left: 10px;
    font-family: DinNextLtProLight;
    font-size: 1rem;
}

.file .scrollable-table,
.supply .scrollable-table {
    margin: 20px 0 5px 0;
}

.supply__table th:nth-child(1),
.supply__table td:nth-child(1),
.supply__pump-list th:nth-child(1),
.supply__pump-list td:nth-child(1),
.supply__pump-registered td:nth-child(1),
.supply__control-table th:nth-child(1),
.supply__control-table td:nth-child(1),
.stock__table th:nth-child(1),
.stock__table td:nth-child(1) {
    padding-right: 50px;
}

.supply__table tr:nth-child(even) td:nth-child(-n + 2),
.supply__control-table tr:nth-child(even) td,
.file__table tr:nth-child(even) td:nth-child(-n + 4),
.stock__table tr:nth-child(even) td {
    background-color: var(--color-surface-base);
}

.supply__table tr:nth-child(odd) td:nth-child(-n + 2),
.supply__control-table tr:nth-child(odd) td,
.file__table tr:nth-child(odd) td:nth-child(-n + 4),
.stock__table tr:nth-child(odd) td {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.supply__table tr:nth-child(odd) td:first-child,
.supply__control-table tr:nth-child(odd) td:first-child,
.file__table tr:nth-child(odd) td:first-child,
.stock__table td:first-child {
    border-left: 1px solid var(--color-border);
}

.supply__table tr:nth-child(odd) td:nth-child(2),
.supply__control-table tr:nth-child(odd) td:last-child,
.file__table tr:nth-child(odd) td:nth-child(4),
.stock__table td:last-child {
    border-right: 1px solid var(--color-border);
}

.supply__pump-list td:first-child,
.supply__control-table td:first-child,
.supply__table td:first-child,
.supply__pump-registered td:first-child,
.file__table td:first-child,
.stock__table td:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.supply__pump-list td:last-child,
.supply__control-table td:last-child,
.supply__table td:nth-child(2),
.supply__pump-registered td:last-child,
.file__table td:nth-child(4),
.stock__table td:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.file__table td:nth-child(5) {
    width: 36px;
    padding-right: 0;
    padding-left: 30px;
}

.file__table tr {
    cursor: pointer;
}

.file__preview {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-background-overlay);
    padding: 0 5%;
}

.file__preview iframe {
    width: 100%;
    height: 80%;
    border: none;
}

.file__preview img {
    max-width: 90vw;
    max-height: 90vh;
}

.file__preview-close {
    position: absolute;
    right: 5%;
    top: 50px;
    background-color: var(--color-surface-alt);
    font-family: DinNextLtProLight;
    aspect-ratio: 1;
    font-size: 1.5rem;
    height: 30px;
}

.supply {
    width: 100%;
    opacity: 0;
    animation: fadeIn 0.2s ease-in forwards;
}

.supply table {
    width: 100%;
}

.supply__pump-list td,
.supply__pump-registered td,
.supply__control-table td {
    height: 36px;
}

.supply__pump-list td {
    background-color: var(--color-surface-base);
}

.supply .input-search {
    box-shadow: none;
    width: calc(100% - 10px);
    background-color: var(--color-surface-base);
    border-radius: var(--radius-md);
    height: 30px;
    padding: 0;
    padding-left: 10px;
}

.supply__table td:nth-child(n + 3) {
    padding: 0;
}

.supply__selected {
    background-color: var(--color-surface-alt);
    padding: 10px;
    border-radius: var(--radius-md);
    margin-top: 30px;
    opacity: 0;
    animation: fadeIn 0.2s ease-in forwards;
}

.supply__selected-quantity {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.supply__selected-quantity input {
    width: 36px;
    aspect-ratio: 1;
    text-align: center;
    border-radius: var(--radius-sm);
    border: none;
    margin-right: 20px;
}

.supply__table-col,
.supply__table-actions {
    width: 36px;
}

.supply__table-quantity {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    text-align: center;
    cursor: pointer;
    width: 36px;
    aspect-ratio: 1;
}

.supply__pump {
    margin: 60px 0;
}

.supply__pump-content .input-search {
    width: 70%;
    padding-left: 0;
    margin: 10px 0;
}

.supply__pump-content {
    display: flex;
    flex-direction: column;
    gap: 5%;
}

.supply__pump-content div:nth-child(1) {
    flex: 60%;
}

.supply__pump-info {
    text-align: center;
    margin-top: 20px;
}

.supply__pump--correct,
.supply__pump--wrong {
    background-color: white;
    border-top: solid 1px;
    border-bottom: solid 1px;
}

.supply__pump-registered td:first-child.supply__pump--wrong {
    border-left: solid 1px var(--color-feedback-error);
    color: var(--color-feedback-error);
}

.supply__pump-registered td:first-child.supply__pump--correct {
    border-left: solid 1px var(--color-feedback-success);
    color: var(--color-feedback-success);
}

.supply__pump-registered td:last-child.supply__pump--wrong {
    border-right: solid 1px var(--color-feedback-error);
    color: var(--color-feedback-error);
}

.supply__pump-registered td:last-child.supply__pump--correct {
    border-right: solid 1px var(--color-feedback-success);
    color: var(--color-feedback-success);
}

.supply__pump-empty {
    margin: 10px 0;
}

.supply__control span {
    display: block;
    font-family: DinNextLtProLight;
    width: 100%;
    text-align: center;
}

.supply__pump-btn {
    border: none;
    border-radius: var(--radius-md);
    background-color: var(--color-primary);
    color: white;
    font-family: DinNextLtProRegular;
    width: 70%;
    height: 30px;
    font-size: 1rem;
}

.supply__scanner {
    position: fixed;
    background-color: var(--color-surface-base);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.supply__scanner-btn {
    right: 10%;
    top: 10%;
    background-color: var(--color-surface-alt);
    font-family: DinNextLtProLight;
    font-size: 1.5rem;
    height: 30px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.supply__video {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 0 10%;
    text-align: center;
}

.supply__video video {
    width: 100%;
    height: 150px;
    border-radius: var(--radius-xl);
    object-fit: none;
    max-width: 640px;
}

.supply__video-close {
    width: 100%;
    display: flex;
    justify-content: end;
    max-width: 640px;
    margin-bottom: 10px;
}

.supply__scanner-prod {
    border-radius: var(--radius-md);
    display: flex;
    background-color: var(--color-primary);
    color: white;
    padding: 10px 30px;
    cursor: pointer;
    margin-top: 30px;
}

.check-button {
    padding: 10px;
    background-color: var(--color-btn-primary);
    color: white;
    border-radius: var(--radius-md);
    border: none;
    height: 36px;
    aspect-ratio: 1;
    cursor: pointer;
    display: inline;
}

.check-button--disabled {
    opacity: 0.7;
    cursor: default;
}

.check-button--hidden {
    display: none;
}

.login {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--color-surface-base);
    font-family: DinNextLtProRegular;
}

.login__main {
    width: 100%;
    max-width: 400px;
    background-color: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.login__img {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.login__img img {
    width: 150px;
    height: auto;
}

.login__form {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login__form-content {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login__title {
    font-family: DinNextLtProBold;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.login__input {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    font-family: DinNextLtProRegular;
    font-size: 1rem;
    background-color: var(--color-background-input-login);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-sizing: border-box;
}

.login__input:focus {
    outline: none;
    border-color: var(--color-grey-input-login);
    background-color: white;
    box-shadow: 0 0 5px rgba(18, 41, 64, 0.3);
}

.login__input::placeholder {
    font-family: DinNextLtProLight;
    color: var(--color-grey-input-login);
}

.login__button {
    width: 100%;
    padding: 10px;
    font-family: DinNextLtProBold;
    font-size: 1.125rem;
    color: white;
    background-color: var(--color-primary);
    border: none;
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 10px;
}

.login__error {
    background-color: var(--color-btn-danger);
    color: white;
    text-align: center;
    font-family: DinNextLtProRegular;
    padding: 10px;
    border-radius: var(--radius-md);
    margin-top: 10px;
}

.stock__table {
    background-color: white;
    margin: 30px 0;
    padding: 20px;
    border-radius: var(--radius-xl);
    position: relative;
    opacity: 0;
    animation: fadeIn 0.2s ease-in forwards;
}

.stock__table th {
    font-family: DinNextLtProBold;
}

.loading-container {
    position: relative;
    overflow: hidden;
}

.loading-table {
    opacity: 0.5;
}

.loading-spinner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 4px solid var(--color-surface-alt);
    border-top: 4px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.pagination__info {
    margin: 20px 0 10px;
}

.pagination__current {
    margin: 0 30px;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media screen and (min-width: 380px) {
    .suizo-logo {
        width: 280px;
    }
}

@media screen and (max-width: 379px) {

    .modal__header h4,
    .pdf__modal-header h4 {
        font-size: 6vw;
    }

    .suizo-logo {
        width: 75%;
        margin-top: -8%;
    }
}

@media screen and (max-width: 420px) {
    .pdf__modal-header h4 {
        font-size: 5vw;
    }
}

@media screen and (min-width: 768px) {
    .header__burger {
        display: none !important;
    }

    .header__logo {
        justify-content: space-between;
    }

    .header__logo-img {
        flex: unset;
        text-align: unset;
    }

    .header__logo img {
        margin-left: 0;
    }

    .search,
    .detail__row,
    .sheet__row,
    .modal__tabs,
    .file__type,
    .supply__search {
        flex-direction: row;
    }

    .sheet__row,
    .modal__tabs {
        align-items: center;
    }

    .modal__tabs hr {
        width: 1px;
        height: 50px;
        margin: 0 10px;
    }

    .modal__tab,
    .modal__sign {
        padding: 10px 15px;
    }

    #modal-form-row-one input,
    #modal-form-row-three select {
        width: 100%;
    }

    .modal__form .detail__row {
        gap: 30px;
    }

    .modal__form-col {
        flex: 1;
    }

    .modal__form-col-40 {
        flex: 40;
    }

    .modal__form-col-20 {
        flex: 20;
    }

    .file__type select,
    .supply__search input {
        flex: 70;
    }

    .file__btn-upload,
    .supply__search button {
        flex: 30;
    }

    .suggested__card {
        height: 60px;
    }

    .suggested__card div {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        height: 100%;
        justify-content: space-around;
    }

    .suggested__card p {
        width: 180px;
    }

    .supply .suggested__card p {
        width: 250px;
    }
}

@media screen and (max-width: 767px) {
    .header__desktop-user {
        display: none;
    }

    .header__logo nav {
        display: none;
    }

    .header__sidebar-nav {
        border: 1px solid var(--color-btn-nav);
    }
}

.refresh-btn{
    flex: 10;
    text-align: center;
    border-radius: var(--radius-md);
    font-family: DinNextLtProLight;
    font-size: 1rem;
    color: white;
    background-color: var(--color-primary);
    padding: 4px 0;
}

.select-busqueda{
    background-color: #29d !important;
}
