:root {
    /* Global */
    /* --------------------------------------------------------------------- */
    --color-primary: #1e293b;
    --color-secondary: rgba(254, 87, 1, 1);

    --color-title: #0f172a;
    --color-text: #334155;

    --color-info: #2563eb;
    --color-success: #16a34a;
    --color-danger: #dc2626;

    /* Popper */
    --popper-theme-background-color: #334155;
    --popper-theme-background-color-hover: #333333;
    --popper-theme-text-color: #ffffff;
    --popper-theme-border-width: 0px;
    --popper-theme-border-style: solid;
    --popper-theme-border-radius: 24px;
    --popper-theme-padding: 4px 8px;
}
::after,
::before{
    box-sizing: border-box;
}
::-moz-selection,
::selection {
    color: #fff;
    background-color: var(--color-primary);
}
:focus-visible{
    outline: none;
}
:disabled,
.disabled{
    pointer-events: none;
    opacity: .4;
}
body{
    background-color: #f3f4f6;
    color: var(--color-text);
    position: relative;
    overflow-x: hidden;
}
body #app{
    position: relative;
    z-index: 2;
}
body #b2b-auth,
body #b2b-platform {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
}
a{
    color: var(--color-secondary);
    text-decoration: none;
}
@media only screen and (min-width: 1280px){
    .container{
        max-width: 1536px !important;
    }
}
.container-fluid,
.container{
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}
@media only screen and (max-width: 640px){
    .container-card{
        padding: 0;
    }
}
/* Form control */
/* --------------------------------------------------------------------- */
input[type="number"]{
    appearance: textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
select{
    background-image: none;
    cursor: pointer;
}
.form-control {
    font-size: .875rem;
    line-height: 1.25rem;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    padding: .5rem 1rem;
    border: 1px solid rgb(203, 213, 225);
    border-radius: .375rem;
    width: 100%;
    display: block;
}
.form-control.form-control-lg{
    padding: .75rem 1rem;
}
.form-control:focus {
    border-color: var(--color-secondary);
    --tw-ring-color: var(--color-secondary);
}
.form-control::placeholder {
    color: #64748b;
}
.label-control{
    color: rgb(51, 65, 85);
    font-weight: 600;
    font-size: .875rem;
    line-height: 1.25rem;
    margin-bottom: .25rem;
}
.label-control.required span{
    color: var(--color-danger);
}
button.form-control:focus{
    border-color: var(--color-secondary);
    --tw-ring-color: var(--color-secondary);
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.form-control-quantity {
    width: 75px;
}
.form-control-quantity,
.form-control-warehouse{
    padding: 6px 12px;
}
/* Height */
/* --------------------------------------------------------------------- */
.min-h-5{
    min-height: 1.25rem;
    height: 1.25rem;
}
.min-h-10{
    min-height: 2.5rem;
    height: 2.5rem;
}
.min-h-12{
    min-height: 3rem;
    height: 3rem;
}
.min-h-32{
    min-height: 8rem;
    height: 8rem;
}
/* Width */
/* --------------------------------------------------------------------- */
.min-w-5{
    min-width: 1.25rem;
    width: 1.25rem;
}
.min-w-10{
    min-width: 2.5rem;
    width: 2.5rem;
}
.min-w-12{
    min-width: 3rem;
    width: 3rem;
}
.min-w-32{
    min-width: 8rem;
    width: 8rem;
}
.max-w-48{
    max-width: 12rem;
}
/* Top, right, bottom and left */
/* --------------------------------------------------------------------- */
.left-34{
    left: 8.5rem;
}
/* Color */
/* --------------------------------------------------------------------- */
.text-primary{
    color: var(--color-primary);
}
.text-secondary{
    color: var(--color-secondary);
}
.text-blue-800 {
    color: #1e40af;
}
/* Background */
/* --------------------------------------------------------------------- */
.bg-primary{
    background-color: var(--color-primary);
}
.bg-secondary{
    background-color: var(--color-secondary);
}
.bg-secondary-light{
    background-color: rgba(254, 87, 1, .05);
}
.bg-red-50{
    background-color: #fef2f2;
}
.bg-blue-50{
    background-color: #eff6ff;
}
.bg-gradient-primary {
    background: linear-gradient(90deg, #1e293b 0%, #324462 100%);
}
/* Border */
/* --------------------------------------------------------------------- */
.border-primary{
    border-color: var(--color-primary);
}
.focus\:border-secondary:focus,
.border-secondary{
    border-color: var(--color-secondary);
}
.border-red-400{
    border-color: #f87171;
}
.border-blue-400{
    border-color: #60a5fa;
}
/* Ring */
/* --------------------------------------------------------------------- */
.ring-secondary,
.focus\:ring-secondary:focus{
    --tw-ring-opacity: 1;
    --tw-ring-color: rgb(254 87 1 / var(--tw-ring-opacity));
}
/* Buttons */
/* --------------------------------------------------------------------- */
.button {
    font-weight: 500;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    transition: .2s all;
    padding: .5rem 1.25rem;
    font-size: 1rem;
}
.button:focus{
    --tw-ring-offset-color: #f8fafc;
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
    outline: 2px solid transparent;
    outline-offset: 2px;
}
.button.button-xs{
    font-size: 0.75rem;
    line-height: 1rem;
    padding: .5rem 1rem;
}
.button.button-lg{
    font-size: 1rem;
    line-height: 1.5rem;
    padding: .75rem 1.5rem;
}
.button.button-primary{
    background-color: #2c4360;
    color: #fff;
    --tw-ring-color: #2c4360;
}
.button.button-primary:hover{
    background-color: #293951;
    --tw-ring-color: #293951;
}
.button.button-primary:focus{
    background-color: #1e293b;
    --tw-ring-color: #1e293b;
}
.button.button-secondary{
    background-color: var(--color-secondary);
    color: #fff;
    --tw-ring-color: var(--color-secondary);
}
.button.button-secondary:hover{
    background-color: #CB4500;
    --tw-ring-color: #CB4500;
}
.button.button-secondary:focus{
    background-color: #983400;
    --tw-ring-color: #983400;
}
.button.button-gray{
    background-color: #475569;
    color: #fff;
    --tw-ring-color: #475569;
}
.button.button-gray:hover{
    background-color: #334155;
    --tw-ring-color: #334155;
}
.button.button-gray:focus{
    background-color: #1e293b;
    --tw-ring-color: #1e293b;
}
.button.button-transparent{
    background-color: transparent;
    box-shadow: none;
    color: #334155;
}
.button.button-transparent:hover{
    background-color: #e2e8f0;
}
/* Card */
/* --------------------------------------------------------------------- */
.card {
    background-color: #fff;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    border-radius: 24px;
}
.card .card-header {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}
.card .card-header .title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
}
.card .card-header .subtitle {
    margin-top: 4px;
    font-size: 14px;
    line-height: 20px;
}
.card .card-footer {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}
.card > * + * {
    border-top: 1px solid #e2e8f0;
}
@media only screen and (min-width: 640px){
    .card .card-header,
    .card .card-body:not(.padding-none),
    .card .card-footer:not(.padding-none){
        padding: 20px 24px;
    }
}
@media only screen and (max-width: 640px){
    .card .card-header,
    .card .card-body:not(.padding-none),
    .card .card-footer:not(.padding-none){
        padding: 20px 16px;
    }
    .card{
        border-radius: 0;
    }
}
.card.card-budget .card-header {
    background-color: #fff7ed;
}
/* Tag */
/* --------------------------------------------------------------------- */
.tag[data-type="Pendiente"]{
    background-color: rgb(29, 78, 216);
}
.tag[data-type="En proceso"]{
    background-color: rgb(29, 78, 216);
}
.tag[data-type="Completado"]{
    background-color: rgb(21, 128, 61);
}
.tag[data-type="Rechazado"]{
    background-color: rgb(185, 28, 28);
}
/* Notificación banner */
/* --------------------------------------------------------------------- */
.notificacion-banner{
    position: fixed;
    z-index: 999999999;
    left: 0;
    right: 0;
    width: 400px;
    font-family: 'Nunito', sans-serif;
}
.notificacion-banner > div{
    border-radius: 12px;
    padding: 20px 10px;
}
.notificacion-banner > div[data-type="info"]{
    background-color: var(--color-info);
}
.notificacion-banner > div[data-type="success"]{
    background-color: var(--color-success);
}
.notificacion-banner > div[data-type="error"]{
    background-color: var(--color-danger);
}
.notificacion-banner .button-close{
    position: absolute;
    right: 10px;
    top: 10px;
}
.notificacion-banner .button-close svg{
    width: 20px;
    height: 20px;
}
.notificacion-banner .content{
    padding-right: 30px;
}
.notificacion-banner .title{
    font-weight: bold;
    margin: 0;
}
.notificacion-banner .description{
    font-size: 14px;
    line-height: 20px;
    color: #F1F5F9;
    margin: 0;
}
.slideUp{
    opacity: 0;
    transform: translateY(-50px);
    animation: slideUp .5s forwards;
}
.slideDown{
    animation: slideDown .5s forwards;
}
@keyframes slideUp{
    100%{
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes slideDown{
    100%{
        transform: translateY(-50px);
        opacity: 0
    }
}
/* Grid de productos */
/* --------------------------------------------------------------------- */
#products-grid .button-add{
    padding: 7px 14px;
}
#products-grid select{
    min-width: 45px;
    text-align: center;
}
#products-grid li {
    border: 12px solid #cbd5e1;
}

@media only screen and (min-width: 1280px){
    #products-grid > li:not(:nth-child(5n+1)) {
        border-left: 0;
    }
    #products-grid > li:nth-child(n+6) {
        border-top: 0;
    }
}
@media only screen and (max-width: 1279px) and (min-width: 640px){
    #products-grid > li:not(:nth-child(2n+1)) {
        border-left: 0;
    }
    #products-grid > li:nth-child(n+3) {
        border-top: 0;
    }
}
@media only screen and (max-width: 640px){
    #products-grid > li .group-image{
        margin: -1.5rem 0 -1.5rem -1rem;
        border-radius: 0;
        height: auto;
    }
    #products-grid > li + li{
        border-top: 0;
    }
}

/* Grid de producto en el buscador por modelo de motos */
/* --------------------------------------------------------------------- */
#search-by-motorcycles-products-grid .button-add{
    padding: 7px 14px;
}
#search-by-motorcycles-products-grid select{
    min-width: 45px;
    text-align: center;
}
#search-by-motorcycles-products-grid li {
    border: 12px solid #cbd5e1;
}

@media only screen and (min-width: 1280px){
    #search-by-motorcycles-products-grid > li:not(:nth-child(4n+1)) {
        border-left: 0;
    }
    #search-by-motorcycles-products-grid > li:nth-child(n+5) {
        border-top: 0;
    }
}
@media only screen and (max-width: 1279px) and (min-width: 640px){
    #search-by-motorcycles-products-grid > li:not(:nth-child(2n+1)) {
        border-left: 0;
    }
    #search-by-motorcycles-products-grid > li:nth-child(n+3) {
        border-top: 0;
    }
}
@media only screen and (max-width: 640px){
    #search-by-motorcycles-products-grid > li .group-image{
        margin: -1.5rem 0 -1.5rem -1rem;
        border-radius: 0;
        height: auto;
    }
    #search-by-motorcycles-products-grid > li + li{
        border-top: 0;
    }
}

/* Animaciones */
/* --------------------------------------------------------------------- */
.list-enter-active,
.list-leave-active {
    transition: all 0.5s ease;
}
.list-leave-to,
.list-enter-from{
    opacity: 0;
    transform: translateX(30px);
    position: absolute;
    width: 100%;
    pointer-events: none;
}

/* Table */
/* --------------------------------------------------------------------- */
.table-box table thead tr th .form-control {
    font-weight: 400;
}
.table-filters{
    position: absolute;
    top: calc(100% + 10px);
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid rgb(203, 213, 225);
    padding: 12px;
    width: 235px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 3px;
    z-index: 20;
}
.table-filters .option{
    padding: 6px;
    transition: .3s all;
    width: 100%;
    border-radius: 6px;
    text-align: left;
    font-size: 0.875rem; /* 14px */
    line-height: 1.25rem; /* 20px */
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
}
.table-filters .option:hover{
    background-color: #f1f5f9;
}

/* Vue Notify */
/* --------------------------------------------------------------------- */
.popper{
    font-size: 0.75rem; /* 12px */
    line-height: 1rem; /* 16px */
    white-space: nowrap;
}

/* Product Images Carousel */
/* --------------------------------------------------------------------- */
.product-images-carousel #gallery .carousel__item{
    width: 100%;
}
.product-images-carousel #gallery .carousel__item img{
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 12px;
    overflow: hidden;
}
.product-images-carousel #thumbnails .carousel__item{
    width: 100%;
    padding: 1rem;
}
.product-images-carousel #thumbnails .carousel__item img{
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

/* Dashboard */
/* --------------------------------------------------------------------- */
.warehouse-indicator{
    position: absolute;
    right: 0;
    top: 0;
}

/* Filters */
/* --------------------------------------------------------------------- */
@media only screen and (max-width: 1535px){
    #filters,
    #shopping-cart{
        border-radius: 0;
    }
}

/* VueForm Multiselect */
/* --------------------------------------------------------------------- */
.form-control-multiselect.multiselect{
    font-size: .875rem;
    line-height: 1.25rem;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px !important;
    border: 1px solid rgb(203, 213, 225);
    border-radius: .375rem;
    width: 100%;
    display: block;
    min-height: auto;
    height: 38px;
}
.form-control-multiselect.multiselect.is-open{
    border-color: var(--color-secondary);
    --tw-ring-color: var(--color-secondary);
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
}
.form-control-multiselect.multiselect .multiselect-wrapper{
    min-height: auto;
    height: 36px;
}
.multiselect .multiselect-placeholder,
.multiselect .multiselect-multiple-label{
    font-size: .875rem;
    line-height: 1.25rem;
    padding: .5rem 1rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgb(51, 65, 85);
    width: calc(100% - 32px);
}
.multiselect .multiselect-clear{
    margin-right: -10px;
    padding: 0;
}
.multiselect .multiselect-caret{
    opacity: 0;
}
.multiselect .multiselect-dropdown{
    overflow: auto;
}
.multiselect .multiselect-dropdown .multiselect-no-results,
.multiselect .multiselect-dropdown li{
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 500;
}

/* Collapse Effect */
/* --------------------------------------------------------------------- */
.collapse-effect{
    max-height: 8rem;
    overflow: hidden;
    position: relative;
    padding: 0 .5rem;
    margin: 0 -.5rem;
    z-index: 9;
}
.collapse-effect::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30px;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    z-index: 30;
}

/* Swal */
/* --------------------------------------------------------------------- */
.swal2-container * {
    font-family: 'Nunito', sans-serif;
}
.swal2-container .swal2-confirm{
    background-color: var(--color-secondary) !important;
    order: 2;
    border-radius: 8px !important;
    --tw-ring-color: #983400;
    min-width: 75px;
}
.swal2-container .swal2-cancel{
    --tw-ring-color: #6e7881;
    border-radius: 8px !important;
    min-width: 75px;
}
.swal2-container .swal2-cancel:focus,
.swal2-container .swal2-confirm:focus{
    --tw-ring-offset-color: #f8fafc;
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important;
    outline: 2px solid transparent;
    outline-offset: 2px;
}
.swal2-container .swal2-popup{
    border-radius: 24px;
}
.swal2-container .swal2-input-label {
    margin-left: 36px;
    margin-right: 0;
    font-weight: bold;
    justify-content: flex-start;
}
.swal2-container .swal2-textarea {
    margin-top: 4px;
}

/* Preloader */
/* --------------------------------------------------------------------- */
.loader {
    width: 24px;
    height: 24px;
    border: 2.5px solid #e2e8f0;
    border-bottom-color: var(--color-secondary);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Cart */
/* --------------------------------------------------------------------- */
#cart .content{
    max-height: 499px;
    height: 100%;
}

/* VueFinalModal */
/* --------------------------------------------------------------------- */
.vfm{
    overflow: auto;
}
.vfm .vfm__overlay {
    display: none !important;
}
.vfm__container {
    position: relative !important;
    min-height: 100vh;
}
.vfm__container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9;
}
.vfm__container .vfm__content {
    padding: 1.75rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* Vue Multiselect */
/* --------------------------------------------------------------------- */
.multiselect__tags {
    width: 100%;
    border: none;
    font-size: .875rem;
    padding: .75rem 2.5rem 0 .75rem;
    overflow: hidden;
    white-space: nowrap;
}
.multiselect__tags .multiselect__single {
    display: block;
    overflow: hidden;
    white-space: nowrap;
}
.multiselect ul li,
.multiselect input {
    font-size: .875rem
}
.multiselect input {
    padding: 0;
}
.multiselect input:focus {
    border-color: transparent;
    outline: none;
    box-shadow: none;
}
.multiselect ul li span.multiselect__option {
    padding: .75rem;
    white-space: normal;
}
.multiselect .multiselect__content-wrapper {
    top: 100% !important;
    bottom: inherit !important;
    border-top: 1px solid #e8e8e8;
}
.vue-multi-select-multiple .multiselect .multiselect__tags {
    padding: .5rem 1rem;
    min-height: 38px;
}
.vue-multi-select-multiple .multiselect .multiselect__placeholder {
    margin-bottom: 0;
    color: #6b7280;
    padding-top: 0;
}
.vue-multi-select-multiple .multiselect .multiselect__tags-wrap {
    display: inline-flex;
    gap: .75rem;
    margin-right: .75rem;
}
.vue-multi-select-multiple .multiselect .multiselect__tags-wrap .multiselect__tag {
    margin: 0;
}

/* Cart */
/* --------------------------------------------------------------------- */


/* Cart */
/* --------------------------------------------------------------------- */
#cart {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    z-index: 100;
    overflow-x: hidden;
}
#cart .cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, .2);
    backdrop-filter: blur(4px);
    inset: 0;
    z-index: 100;
}
#cart .cart-content {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 110;
}
#cart .cart-content .content.disabled {
    pointer-events: none;
    opacity: .4;
    user-select: none;
}
.cart-enter-active .cart-overlay,
.cart-leave-active .cart-overlay {
    transition: opacity .4s ease;
}
.cart-enter-from .cart-overlay,
.cart-leave-to .cart-overlay {
    opacity: 0;
}
.cart-enter-to .cart-overlay,
.cart-leave-from .cart-overlay {
    opacity: 1;
}
.cart-enter-active .cart-content > div,
.cart-leave-active .cart-content > div {
    transition: transform .5s;
}
.cart-enter-from .cart-content > div,
.cart-leave-to .cart-content > div {
    transform: translateX(100%);
}
.cart-enter-to .cart-content > div,
.cart-leave-from .cart-content > div {
    transform: translateX(0);
}
