

.font-icon-red {
    color: #E32016;
}

.font-icon-gray {
    color: gray;
}

.status-pill {
    border-radius: var(--rounded-full);
    padding: 0.5rem 1.25rem;
    width: fit-content;
    font-weight: bold;
}

.form-label-info {
    justify-content: normal;
}

/*Ribbons*/
.ribbon {
    position: absolute;
    right: -2px;
    top: -2px;
    z-index: 1;
    overflow: hidden;
    width: 93px;
    height: 93px;
    text-align: right;
}

    .ribbon span {
        font-size: 0.8rem;
        color: #fff;
        text-transform: uppercase;
        text-align: center;
        font-weight: bold;
        line-height: 32px;
        transform: rotate(45deg);
        width: 125px;
        display: block;
        box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 1);
        position: absolute;
        top: 17px;
    }

        .ribbon span::before {
            content: '';
            position: absolute;
            left: 0px;
            top: 100%;
            z-index: -1;
            border-left: 3px solid transparent;
            border-right: 3px solid transparent;
            border-bottom: 3px solid transparent;
            border-top: 3px solid transparent;
        }

        .ribbon span::after {
            content: '';
            position: absolute;
            right: 0%;
            top: 100%;
            z-index: -1;
            border-right: 3px solid transparent;
            border-left: 3px solid transparent;
            border-bottom: 3px solid transparent;
            border-top: 3px solid transparent;
        }



.button-excel {
    background-color: rgb(187 247 208 / var(--tw-bg-opacity, 1));
    color: rgb(22 163 74 / var(--tw-text-opacity, 1));
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: transform 0.3s;
    font-size: 0.9rem;
    border-radius: var(--rounded-8px);
    width: fit-content;
}

table.dataTable > tbody > tr > th, table.dataTable > tbody > tr > td {
    padding: 2px 10px !important;
}

.action-type img {
    width: 18px !important;
    height: 18px !important;
}

.menu-sidebar .menu-item img {
    width: 20px !important;
}

.menu-sidebar details.menu-details img {
    min-width: 18px !important;
    max-width: 18px !important;
}

table.dataTable.display > tbody > tr {
    font-weight: normal !important;
    text-align: left !important;
    font-size: var(--font-h4);
    padding-right: .5rem !important;
    padding-left: .5rem !important;
}


.error-validation {
    color: #E32016 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}
/*Select2 js*/
.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: none;
    border-radius: var(--rounded-md) !important;
    cursor: text;
}

.select2-container--default .select2-selection {
    background-color: white;
    border: none;
    border-radius: var(--rounded-md) !important;
    cursor: text;
}

.select2-container {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
    height: 40px;
    border-radius: var(--rounded-md) !important;
    border: 1px solid rgba(0, 0, 0, 0.102);
    transition: all .3s;
    line-height: 28px;
}

.select2-container--focus {
    border: 1px solid var(--accent) !important;
}

.select2-container .select2-selection--single {
    height: 38px;
    border: none;
}

.select2-container .select2-selection--multiple {
    height: 38px;
    border: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
}



.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--accent) !important;
    color: white;
}

.select2-container--default .select2-selection .select2-selection__choice {
    background-color: var(--accent) !important;
    color: white;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white !important;
}

.select2-container--default .select2-selection .select2-selection__choice__remove {
    color: white !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: none;
    outline: 0;
}


sub, sup {
    vertical-align: middle
}

.dashboard-wrapper {
    margin-top: 0px !important;
}
/*Estilo editar proyecto*/
.dropify-wrapper .dropify-message span {
    font-size: 30px !important;
    line-height: 1.2 !important;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
    filter: grayscale(100%);
}

.pointer {
    /*    margin-right: 5px;
    color: #e42f2f;*/
    cursor: pointer;
}

.pointerSpan {
    color: #e42f2f;
    cursor: pointer;
}

.move {
    cursor: move;
}

.green.lighten-5 {
    background-color: #e8f5e9 !important;
}

.green-text {
    color: #4caf50 !important;
}

.red-text {
    color: #f44336 !important;
}

.red.lighten-5 {
    background-color: #ffebee !important;
}

.chip {
    font-size: 13px;
    font-weight: 500;
    line-height: 32px;
    display: inline-block;
    height: 32px;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 0 12px;
    color: rgba(0, 0, 0, .6);
    border-radius: 16px;
}

/*checkbox*/
.form-check-input {
    min-width: 1.5em;
    min-height: 1.5em;
    cursor: pointer;
    border-color: var(--accent);
}

    .form-check-input:checked {
        background-color: var( --accent);
        border-color: var(--accent);
    }

    .form-check-input:focus {
        border-color: var( --accent);
        outline: none;
        box-shadow: none;
    }

.form-check-label {
    padding-left: 0.3em;
    vertical-align: -webkit-baseline-middle;
}

/* Toggles */
.btn-toggle {
    cursor: pointer;
    padding: 0.5em 1em;
    border: 1px solid transparent;
    transition: background-color 0.3s, color 0.3s;
}

.toggle {
    display: none;
}

    .toggle:checked + .btn-toggle {
        background-color: var(--accent);
        color: white;
    }

    .toggle:not(:checked) + .btn-toggle {
        background-color: #6c757d;
        color: white;
    }

.btn-toggle:first-of-type {
    border-top-left-radius: 0.25em;
    border-bottom-left-radius: 0.25em;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-toggle:last-of-type {
    border-top-right-radius: 0.25em;
    border-bottom-right-radius: 0.25em;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.custom-textarea {
    width: 100%;
}

.accordion-button:not(.collapsed) {
    background-color: white !important;
    color: black !important;
    box-shadow:none !important;
}
.accordion-button:focus{
    box-shadow: none !important;
}


/*Badges*/
.badgeprogramada {
    background-color: #007bff !important;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.badgeautomatica {
    background-color: #6c757d !important;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.badgemencion {
    background-color: #f5ef42 !important;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.badgetarea {
    background-color: #6e5c2a !important;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.badgemoduloestatico {
    background-color: #c9852c !important;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.badgependiente {
    background-color: #ff6b6b; /* Rojo */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.badgeleida {
    background-color: #28a745; /* Verde */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}


/*Notificaciones (icono sobre)*/
.notification-wrapper .dropdown-menu {
    border: none;
}

.notification-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* Animación suave para nuevas notificaciones */
@keyframes notification-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.notification-new {
    animation: notification-pulse 1s;
}

select.form-select, textarea, input[type="text"]:not(.k-input-inner), input[type="date"], input[type="password"], input[type="number"], input[type="color"], input[type="email"] {
    border-radius: var(--rounded-md);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.102);
    background-color: var(--white);
    height: 38px;
    transition: all .3s;
}

    select.form-select:focus, textarea:focus, input[type="text"]:not(.k-input-inner):focus, input[type="date"]:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="color"]:focus, input[type="email"]:focus {
        outline: none !important;
        box-shadow: none;
        border: 1px solid var(--accent);
        /*   transform: scale(1.03);*/
    }



.form-control:disabled {
    background-color: #f3f3f3 !important;
}

/*Mercadillo 3R*/
#Articulos .card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

#Articulos .transition-all {
    transition: all 0.3s ease;
}

#Articulos .object-fit-cover {
    object-fit: cover;
}

#Articulos .card {
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease;
}

#Articulos .card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.8) !important;
}




.sub-item.active {
    color: var(--accent) !important;
}



/* Estilo personalizado para el modal de mención de usuarios */
#userModal .modal-dialog {
    max-width: 400px;
    margin: 1.75rem auto;
}

#userModal .modal-content {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

#userModal .modal-body {
    max-height: 300px;
    overflow-y: auto;
}

/* Lista de usuarios */
#userList {
    list-style: none;
    padding-left: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
}

    #userList li {
        cursor: pointer;
        padding: 10px;
        border: 1px solid #ccc;
        margin: 5px 0;
        border-radius: 5px;
        font-size: 14px;
        display: flex;
        align-items: center;
        transition: background-color 0.2s ease;
    }

        #userList li:hover {
            background-color: #f0f0f0;
        }

        #userList li.selected {
            background-color: #0078d4;
            color: white;
        }

        #userList li img {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            margin-right: 10px;
        }

.card-summary {
    border-left: 8px solid var(--accent);
    box-shadow: 2px 1px 6px 0px lightgray;
}

.badge {
    font-size: 13px;
    font-weight: 500;
    line-height: 32px;
    display: inline-block;
    height: 32px;
    margin-right: 5px;   
    padding: 0 12px;
    color: rgba(0, 0, 0, .6);
    border-radius: 16px;
}

.badge--count {
    font-size: 10px;
    font-weight: 500;
    line-height: 19px;
    display: inline-block;
    height: 20px;
    width: 20px;
    padding: 0px 0px;
    color: rgba(0, 0, 0, .6);
    border-radius: 16px;
    color: white;
}

.badgeWidget {
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    /* display: inline-block; */
    text-align: center;
    height: 20px;
    /* margin-right: 5px; */
    /* padding: 0 12px; */
    color: rgba(0, 0, 0, .6);
    border-radius: 16px;
}

table.dataTable tbody tr {
    height: 40px;
}

table.dataTable span {
    font-size: 1em;
}

table.dataTable td {
    font-size: 11px;
}

table.dataTable i {
    font-size: 1.5em;
}

table.dataTable th i {
    font-size: 0.8em;
    color: var(--gray);
}

.goog-te-gadget-simple {
    display: none !important;
}

.btn-close {
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
    --bs-btn-close-opacity: 1 !important;
    box-shadow: none !important;
}

.main-content-wrapper .breadcrumb-container {
    position: fixed;
    z-index: 1000;
    background-color: white;
    padding: 10px;
    width: calc(100% - 280px);
    height: 45px;
}

@media screen and (max-width: 991.98px) {
    .main-content-wrapper .breadcrumb-container {
        position: fixed;
        top: 60px;
        z-index: 1000;
        background-color: white;
        padding: 5px;
        width: 100%;
        font-size: 8px;
    }

    .btn-collapse {
        display: none !important;
    }
}

.footer-user-profile {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    cursor: pointer;
}

.footer-exit {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    cursor: pointer;
}

.footer-auren-logo {
    flex-shrink: 0;
    width: 4rem;
    display: flex;
    object-fit: contain;
}

.btn-collapse {
    position: fixed;
    top: 103px;
    left: 265px;
    width: 30px;
    height: 30px;
    background-color: darkgray;
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transform: translateY(-50%);
    transition: left 0.3s;
}

.colapsed .sidebar .btn-collapse {
    left: 50px;
}

.badge-color {
    border-radius: 50px;
    width: 10px;
    height: 10px;
    background-color: #ddd;
    margin: 3px 4px 0 0;
    display: inline-block;
}

.circle-status {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 25px;
    position: relative;
    top: 3px;
    background-color: #aaaaaa;
    margin-right: 5px;
}

.circle-status--yellow {
    background-color: #ffe08a;
}

.circle-status--green {
    background-color: #a8e66a;
}


.k-button-solid-primary{
    color:black !important;
}

.notifications a.dropdown-item.notification-item {
    white-space: normal;
}


.popover {
    max-width: 200px;
    min-width: 100px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

.k-animation-container-shown {
    overflow: visible !important;
}