@font-face {
    font-family: 'GeistFont';
    src: url('../fonts/geist/GeistVF.woff') format('woff');
}

:root {
    --tblr-font-sans-serif: 'GeistFont';
}

.navbar-nav {
    font-weight: 500;
}

.progressbg {
    padding: 0.15rem 0.5rem !important;
}
/*tbody > tr:hover {
    background-color: #f5f5f5;
}*/

tr:hover {
    cursor: pointer;
}

.btn-transparent {
    background-color: transparent;
    border-color: transparent;
    padding-top: 7px;
    padding-bottom: 7px;
    cursor: pointer;
    border: none;
    box-shadow: none;
}
.btn-transparent:hover {
    background-color: #f5f5f5;
    padding-top: 7px;
    padding-bottom: 7px;
    cursor: pointer;
    border: none;
}

/*First child of container*/

#selected-images {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px; /* Espacio entre los elementos */
    width: 100%; /* Ocupa el 100% del ancho */
}

.img-added-dpz,
.add-file-element {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    position: relative;
    aspect-ratio: 1; /* Mantiene la proporción cuadrada */
}

.img-added-dpz img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    background-color: #f5f5f5;
}

.dz-preview {
    display: none;
}

#selected-images .img-added-dpz:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.file-item {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background-color: #fff;
    border-radius: 10px;
    border: 1px #c3c3c3 solid;
}

.add-file-element {
    background-color: #f5f5f5;
    border-radius: 10px;
    border: 1px #c3c3c3 dashed;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.select-categories-item:hover {
    background-color: #e3e2e2;
    cursor: pointer;
}

.selected-category {
    background-color: #e9e9e9;
}
#product-category-ts-dropdown > .selected.active {
    background-color: #f8f8f8;
}

#product-category-ts-dropdown > .active {
    background-color: #f8f8f8;
}

#product-category-ts-dropdown > .selected {
    background-color: #e3e2e2;
}

.dp-header-categories:hover {
    background-color: #f5f5f5;
    cursor: pointer;
}

.horizontal-divider {
    width: 1px;
    height: 1.5rem;
    background-color: lightgray;
}

.card-header-tabs .nav-link.active {
    background-color: transparent !important;
    border-width: 0 0 2px 0 !important;
    border-bottom-color: black;
}

.card-header-tabs .nav-link:hover {
    background-color: transparent !important;
    border-width: 0 0 2px 0 !important;
    border-bottom-color: rgb(176, 176, 176);
}

.card-header-tabs {
    background-color: transparent;
    font-weight: 500;
}

.link-button {
    background-color: transparent;
    border: none;
    color: #007bff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3.5px;
}

.form-control,
.form-select {
    padding: 0.25rem 0.75rem !important;
}

.link-button:hover .link-text {
    text-decoration: underline;
}
.link-button i {
    font-size: 19px;
}

.dropzone-60 {
    height: 60px;
    border: 1px #c3c3c3 dashed;
    width: 60px;
}

.dropzone-60:hover {
    background-color: #bfbfbf;
    cursor: pointer;
}

.dropzone-50 {
    height: 50px;
    border: 1px #c3c3c3 dashed;
    width: 50px;
}

.dropzone-50:hover {
    background-color: #bfbfbf;
    cursor: pointer;
}

.dropzone-40 {
    height: 40px;
    border: 1px #c3c3c3 dashed;
    width: 40px;
}

.dropzone-40:hover {
    background-color: #bfbfbf;
    cursor: pointer;
}

.dropzone-30 {
    height: 30px;
    border: 1px #c3c3c3 dashed;
    width: 30px;
}

.dropzone-30:hover {
    background-color: #bfbfbf;
    cursor: pointer;
}

.dropzone-20 {
    height: 20px;
    border: 1px #c3c3c3 dashed;
    width: 20px;
}

.dropzone-20:hover {
    background-color: #bfbfbf;
    cursor: pointer;
}

.pac-icon {
    display: none;
}

.pac-item {
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}
.pac-item:hover {
    border: 0;
    background-color: #f1f2f4;
}

.pac-item-selected {
    background-color: #f1f2f4;
}

.pac-container {
    border-radius: 10px;
    padding: 5px 10px;
    margin-top: 5px;
}
.iti {
    width: 100%;
}

/* Border on bottom for small screens (sm) */
.border-bottom-sm {
    border-bottom: var(--tblr-border-width) solid var(--tblr-border-color); /* Border bottom for small screens */
}

@media (min-width: 768px) {
    .border-bottom-sm {
        border-bottom: 0; /* Remove bottom border for md and larger */
    }
}

/* Border on bottom for medium screens (md) */
.border-bottom-md {
    border-bottom: 0; /* No border on small screens */
}

@media (min-width: 768px) {
    .border-bottom-md {
        border-bottom: var(--tblr-border-width) solid var(--tblr-border-color); /* Border bottom for medium screens and larger */
    }
}

/* Border on right (end) for small screens (sm) */
.border-end-sm {
    border-right: var(--tblr-border-width) solid var(--tblr-border-color); /* Border right for small screens */
}

@media (min-width: 768px) {
    .border-end-sm {
        border-right: 0; /* Remove right border for md and larger */
    }
}

/* Border on right (end) for medium screens (md) */
.border-end-md {
    border-right: 0; /* No border on small screens */
}

@media (min-width: 768px) {
    .border-end-md {
        border-right: var(--tblr-border-width) solid var(--tblr-border-color); /* Border right for medium screens and larger */
    }
}

.dropdown-toggle:after {
    margin-top: -0.3em !important;
}

.ts-control {
    padding: 0.25rem 0.75rem !important;
}

.ts-wrapper {
    min-height: 0 !important;
}

div.dts div.dt-scroll-body,
div.dts div.dataTables_scrollBody {
    background: none !important;
}

td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lb-outerContainer {
    border-radius: 1rem !important;
    overflow: hidden;
}

.lb-image {
    border: 0 !important;
}

div.dts div.dt-scroll-body table,
div.dts div.dataTables_scrollBody table {
    background-color: transparent !important;
}

.sys-notification:hover {
    background-color: #efefef;
}

/*new tabs*/
/* Scope: only this UL */
ul.new-tabs[data-bs-toggle='tabs'] .nav-link {
    position: relative; /* anchor ::before */
    z-index: 0; /* create a stacking context for safe layering */
    color: var(--bs-secondary-color); /* default (inactive) text color */
}

/* Ensure icons inherit text color */
ul.new-tabs[data-bs-toggle='tabs'] .nav-link i,
ul.new-tabs[data-bs-toggle='tabs'] .nav-link svg {
    color: currentColor;
    fill: currentColor;
}

/* Active tab: readable text color */
ul.new-tabs[data-bs-toggle='tabs'] .nav-link.active {
    color: var(--bs-body-color) !important; /* visible on light bg */
    background-color: transparent; /* neutralize Bootstrap */
    border: none !important;
    box-shadow: none;
}

/* Soft highlight background behind content */
ul.new-tabs[data-bs-toggle='tabs'] .nav-link.active::before {
    content: '';
    position: absolute;
    inset: 0rem 0.2rem; /* “padding” del fondo */
    background: #daf0ff;
    border-radius: 0.4rem;
    z-index: -1; /* keep it BEHIND the text/icons */
}

/* Optional: keep the same readable color on hover/focus of active tab */
ul.new-tabs[data-bs-toggle='tabs'] .nav-link.active:hover,
ul.new-tabs[data-bs-toggle='tabs'] .nav-link.active:focus,
ul.new-tabs[data-bs-toggle='tabs'] .nav-link:hover,
ul.new-tabs[data-bs-toggle='tabs'] .nav-link:focus {
    color: var(--bs-body-color) !important;
    border: none !important;
}

ul.new-tabs[data-bs-toggle='tabs'] .nav-link {
    border: none !important;
}
