/* =========================================================
   PALETA GLOBAL DE COLORES
   ========================================================= */

:root {
    --color-primary: #173A1E;
    --color-secondary: #0F3A1E;
    --color-tertiary: #CF8144;
    --color-tertiaryH: #B56D34;
    --color-tertiaryB: #A1612F;
    --color-quaternary: #fff;
    --color-accent: #DFBA59;
    --color-dark: #092613;
    --color-border: #002715;
    --color-highlight: #80B140;
    --color-highlight-border: #648C30;
    --color-danger: #FF4142;
    --color-danger-dark: #B73132;
    --color-danger-border: #9F2728;
    --color-secondary-bg: #003B20;
    --color-secondary-border: #03331D;
    --color-secondary-hover: #0E6A40;
    --color-secondary-hover-border: #0E3222;
    --text-light: #FFFFFF;
    --text-muted: #e9ecef;
    --text-blue: #1999BC;
    --text-gray: #B6BDC3;
    --bg-light: #FFFFFF;
    --bg-subtle: #CCD4DA;
    --bg-hover: rgba(255, 255, 255, .05);
    --bg-ripple: rgba(255, 255, 255, .4);
    --bg-disabled: #0F3A1E99;
    --color-secondary-enter:#0F3A1E99;
    --color-body:#F0F5F7;
    --color-input:#F0F5F7;
    --impar-tr-table: #F2FFF7;
    --par-tr-table: #FFFFFF;
    --hover-tr-table: #E3F7EC;
    --border-table: #E0DFDA;
    --color-border-input: #34A16F;
    --color-primary-beuty: #00c29a;/*switches y otros elementos con un tono mas atractivo*/
    --btn-gray-strong-txt:#7F8E9A;
    --btn-gray-strong:#7F8E9A;
    --btn-gray-strong-border:#7F8E9A;
    --thead-bg:#E7EDEF;
}
/* =========================================================
                        TEMA CSS
   ========================================================= */

input[switch=primary]:checked+label {
    background-color: var(--color-highlight)
}
input[switch=secondary]:checked+label {
    background-color: var(--color-secondary-bg)
}
body[data-sidebar=custom] .vertical-menu {
    background: var(--color-primary)
}
body[data-sidebar=custom] #sidebar-menu ul li a {
    color: var(--text-light);
}
body[data-sidebar=custom] #sidebar-menu ul li a i {
    color: var(--text-light)
}
body[data-sidebar=custom] #sidebar-menu ul li a:hover {
    color: var(--text-light)
}
body[data-sidebar=custom] #sidebar-menu ul li a:hover i {
    color: var(--color-accent);
}
body[data-sidebar=custom] #sidebar-menu ul li ul.sub-menu li a {
    color: whitesmoke;
}
body[data-sidebar=custom] #sidebar-menu ul li ul.sub-menu li a:hover {
    color: var(--text-light)
}
body[data-sidebar=custom].vertical-collpsed {
    min-height: 1400px
}
body[data-sidebar=custom].vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>a {
    background: var(--color-primary);
    color: var(--text-light);
}
body[data-sidebar=custom].vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>a i {
    color: var(--text-light)
}
body[data-sidebar=custom].vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>ul a {
    color: var(--color-accent);
}
body[data-sidebar=custom].vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>ul a:hover {
    color: var(--color-accent);
}
body[data-sidebar=custom].vertical-collpsed .vertical-menu #sidebar-menu>ul ul {
    padding: 0px!important;
    background-color: var(--bg-light)
}
body[data-sidebar=custom].vertical-collpsed .vertical-menu #sidebar-menu ul>li>a.mm-active {
    color: #FFEECB!important
}
body[data-sidebar=custom].vertical-collpsed .vertical-menu #sidebar-menu ul li li.active>a, body[data-sidebar=custom].vertical-collpsed .vertical-menu #sidebar-menu ul li li.mm-active>a {
    color: var(--text-light)!important
}
body[data-sidebar=custom].vertical-collpsed .vertical-menu #sidebar-menu ul li li a.active, body[data-sidebar=custom].vertical-collpsed .vertical-menu #sidebar-menu ul li li a.mm-active {
    color: var(--text-light)!important
}
body[data-sidebar=custom] .mm-active {
    color: var(--text-light)!important
}
body[data-sidebar=custom] .mm-active>a {
    background: var(--color-accent)!important;
    color: var(--text-light)!important
}
body[data-sidebar=custom] .mm-active>a i {
    background: var(--color-accent)!important;
    color: var(--text-light)!important
}
body[data-sidebar=custom] .mm-active .sub-menu .mm-active>a {
    background: var(--color-dark)!important;
    color: var(--text-light)!important
}
body[data-sidebar=custom] .mm-active>i {
    color: var(--text-light)!important
}
body[data-sidebar=custom] .mm-active .active {
    color: whitesmoke!important
}
body[data-sidebar=custom] .mm-active .active i {
    color: var(--text-light)!important
}
body[data-sidebar=custom] .menu-title {
    color: var(--text-light);
    font-size: 10px;
    border-bottom: 2px solid #fff!important;
    text-align: center;
}
body[data-topbar=custom] #page-topbar {
    background-color: var(--color-primary)
}
body[data-topbar=custom] .navbar-header .dropdown .show.header-item {
    background-color: var(--bg-hover)
}
body[data-topbar=custom] .navbar-header .waves-effect .waves-ripple {
    background: var(--bg-ripple)
}
body[data-topbar=custom] .header-item {
    color: var(--text-muted)
}
body[data-topbar=custom] .header-item:hover {
    color: var(--text-muted)
}
body[data-topbar=custom] .header-profile-user {
    background-color: rgba(255, 255, 255, .25)
}
body[data-topbar=custom] .noti-icon i {
    color: var(--text-muted)
}
body[data-topbar=custom] .logo-dark {
    display: none
}
body[data-topbar=custom] .logo-light {
    display: block
}
body[data-topbar=custom] .app-search .form-control {
    background-color: rgba(241, 245, 247, .07);
    color: var(--text-light)
}
body[data-topbar=custom] .app-search input.form-control::-webkit-input-placeholder, body[data-topbar=custom] .app-search span {
    color: rgba(255, 255, 255, .5)
}
body[data-sidebar=custom] .navbar-brand-box {
    background: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
}
body[data-sidebar=custom] .logo-dark {
    display: none
}
body[data-sidebar=custom] .logo-light {
    display: block
}
/*body[data-sidebar=custom] table tr th {
    background: var(--color-primary);
    color: var(--text-light);
}*/

.text-accent {
    font-size: 15px;
}
.text-accent a {
    text-decoration: none;
    color: var(--color-accen)!important;
}
.conten-all {
    margin-top: -30px!important;
}
.row-titles {
    display: none;
}
.text-blue {
    color: var(--text-blue)!important;
}
.title-des-well {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
}
.title-well {
    color: var(--text-light);
    font-weight: 900;
    font-size: 1.5rem;
}
.module-container {
    margin-left: 5%!important;
    margin-right: 5%!important;
    position: relative;
    margin-top: -2%;
    z-index: 2;
}

.module-icon {
    background-color: #c5eef8;
    color: #00a8d6;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 30px;
}
.module-icon-img {
    color: #00a8d6;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 30px;
}


.modulo-card {
    position: relative;
    width: 80%;
    max-width: 900px;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.modulo-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
.modulo-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-light);
    text-align: left;
    padding: 12px 20px;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 0 0 10px 10px;
}
.modulo-card .overlay h4 {
    margin: 0;
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: right;
}
.header-tools, .gc-container .table-container {
    border: none!important;
}
.gc-pagination-container .pagination .page-number-input {
    appearance: none;
    -moz-appearance: textfield;
    text-align: center;
    border-radius: 50% !important;
    border: 1px solid var(--color-border)!important;
    background-color: var(--color-border)!important;
    color: var(--text-light);
    height: 36px;
    width: 36px;
    line-height: 34px;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: none;
    outline: none;
    margin: 0 4px;
    padding: 0;
    cursor: pointer;
}
.gc-pagination-container .pagination .page-number-input:hover {
    background-color: var(--color-border)!important;
    border-color: var(--color-border)!important;
}
.gc-pagination-container .pagination .page-number-input:focus {
    background-color: var(--color-border)!important;
    border-color: var(--color-border)!important;
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(85, 110, 230, 0.25);
}
.btn-default {
    color: var(--text-light);
    background-color: var(--color-highlight);
    border-color: var(--color-highlight-border);
}
.btn-default:hover {
    color: var(--text-light);
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}
.btn-check:focus+.btn-default, .btn-default:focus {
    color: var(--text-light);
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}
.btn-check:checked+.btn-default, .btn-check:active+.btn-default, .btn-default:active, .btn-default.active, .show>.btn-default.dropdown-toggle {
    color: var(--text-light);
    background-color: var(--color-highlight);
    border-color: var(--color-highlight);
}
.btn-default:disabled, .btn-default.disabled {
    color: var(--text-light);
    background-color: var(--bg-disabled);
    border-color: var(--bg-disabled);
}
.btn-outline-gray {
    color: var(--text-gray);
    border-color: var(--bg-subtle)
}
.btn-outline-gray:hover {
    color: var(--text-light);
    background-color: var(--bg-subtle);
    border-color: var(--bg-subtle)
}
.btn-outline-gray-strong {
    color: var(--btn-gray-strong-txt);
    /*background-color: var(--btn-gray-strong);*/
    border-color: var(--btn-gray-strong-border)
}
.btn-outline-gray-strong:hover {
    color: #fff;
    background-color: var(--btn-gray-strong);
    border-color: var(--btn-gray-strong-border)
}
.btn-primary {
    color: var(--text-light);
    background-color: var(--color-highlight);
    border-color: var(--color-highlight-border);
}
.btn-primary:hover {
    color: var(--text-light);
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}
.btn-primary:disabled, .btn-primary.disabled {
    color: var(--text-light);
    background-color: var(--bg-disabled);
    border-color: var(--bg-disabled);
}
.btn-secondary {
    color: var(--text-light);
    background-color: var(--color-secondary-bg);
    border-color: var(--color-secondary-border);
}
.btn-secondary:hover {
    color: var(--text-light);
    background-color: var(--color-secondary-hover);
    border-color: var(--color-secondary-hover-border);
}
.btn-secondary:disabled, .btn-secondary.disabled {
    color: var(--text-light);
    background-color: var(--bg-disabled);
    border-color: var(--bg-disabled);
}
.btn-tertiary {
    color: var(--text-light);
    background-color: var(--color-tertiary);
    border-color: var(--color-tertiaryB);
}
.btn-tertiary:hover {
    color: var(--text-light);
    background-color: var(--color-tertiaryH);
    border-color: var(--color-tertiaryB);
}
.btn-tertiary:disabled, .btn-tertiary.disabled {
    color: var(--text-light);
    background-color: var(--bg-disabled);
    border-color: var(--bg-disabled);
}
.btn-cancel {
    color: var(--text-light);
    background-color: var(--color-danger);
    border-color: #F03A3B;
}
.btn-cancel:hover {
    color: var(--text-light);
    background-color: var(--color-danger-dark);
    border-color: var(--color-danger-border);
}
.btn-cancel:disabled, .btn-cancel.disabled {
    color: var(--text-light);
    background-color: var(--bg-disabled);
    border-color: var(--bg-disabled);
}
#report-success {
    display: none;
}
#report-error {
    display: none;
}
.row .col-md-2 {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}
.form-check-input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #0d6efd;
    cursor: pointer;
}
.form-check-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.form-check-label h6 {
    margin: 0;
    font-weight: 500;
}
.rown_form_group .row {
    align-items: center;
    margin-left: 0;
}
.rown_form_group .col-md-2:last-child {
    margin-right: 0;
}
.chon {
    width: 100%!important;
}
.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none
}
.page-link {
    position: relative;
    display: block;
    color: #74788d;
    background-color: #fff;
    border: 1px solid #ced4da;
    -webkit-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out
}
@media (prefers-reduced-motion:reduce) {
    .page-link {
        -webkit-transition: none;
        transition: none
    }
}
.page-link:hover {
    z-index: 2;
    color: #2e3dad;
    text-decoration: none;
    background-color: #eff2f7;
    border-color: #ced4da
}
.page-link:focus {
    z-index: 3;
    color: #2e3dad;
    background-color: #eff2f7;
    outline: 0;
    -webkit-box-shadow: 0 0 0 .15rem rgba(86, 100, 210, .25);
    box-shadow: 0 0 0 .15rem rgba(86, 100, 210, .25)
}
.page-item:not(:first-child) .page-link {
    margin-left: -1px
}
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--color-secondary-bg)!important;
    border-color: var(--color-secondary-border)!important;
}
.page-item.disabled .page-link {
    color: var(--bg-disabled);
    pointer-events: none;
    background-color: #fff;
    border-color: #ced4da
}
.page-link {
    padding: .5rem .75rem
}
.page-item:first-child .page-link {
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem
}
.page-item:last-child .page-link {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem
}
.pagination-lg .page-link {
    padding: .75rem 1.5rem;
    font-size: 1.125rem
}
.pagination-lg .page-item:first-child .page-link {
    border-top-left-radius: .3rem;
    border-bottom-left-radius: .3rem
}
.pagination-lg .page-item:last-child .page-link {
    border-top-right-radius: .3rem;
    border-bottom-right-radius: .3rem
}
.pagination-sm .page-link {
    padding: .25rem .5rem;
    font-size: .7875rem
}
.pagination-sm .page-item:first-child .page-link {
    border-top-left-radius: .2rem;
    border-bottom-left-radius: .2rem
}
.pagination-sm .page-item:last-child .page-link {
    border-top-right-radius: .2rem;
    border-bottom-right-radius: .2rem
}
.loginLoad {
    width: 100%;
    max-width: 420px;
}
.login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 40px 35px;
    text-align: center;
}
.login-card img {
    max-width: 160px;
    margin-bottom: 15px;
}
body[data-background=custom] {
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.auth-box-custom {
    background-color: rgba(255, 255, 255, 0.93);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 30px 50px;
    max-width: 490px; 
    width: 90%;  
    margin: auto;
    backdrop-filter: blur(6px); 
}
.auth-box-custom h4 {
    font-weight: 600;
    margin-top: 15px;
}
.auth-box-custom input.form-control {
    height: 48px;
    border-radius: 8px;
}
.user-thumb-custom img {
    width: 85px;
    height: 85px;
}

.welcomeTextPrimary{
    font-size: 30px;
    color:whitesmoke;
}

.welcomeTextSecondary{
    font-size: 26px;
    font-weight: bolder;
    color:whitesmoke;
}

.module-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

.module-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.40);
    padding: 30px 20px;
    text-align: center;
    background-color: var(--bg-light);
}


.module-card .circle-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-secondary-enter); 
    transform: scale(0);
    opacity: 1;
    pointer-events: none;
    animation: rippleExpand 1.4s ease-out forwards;
}

@keyframes rippleExpand {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    70% {
        transform: scale(20);
        opacity: 0.2;
    }
    100% {
        transform: scale(25);
        opacity: 0;
    }
}


.module-card {
    position: relative;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.40);
    padding: 30px 20px;
    text-align: center;
    background-color: var(--bg-light);
    transition: box-shadow 0.6s ease;
    overflow: hidden;
}

.module-card:hover::before {
    transform: translate(100%, 100%);
    opacity: 1;
}



.welcome-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); 
    z-index: 1;
}

.welcome-card p,
.welcome-card h2 {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    margin: 0;
}

.welcome-card p.welcomeTextPrimary {
    font-size: 20px;
    font-weight: 500;
    margin-top: 80px; 
}

.welcome-card h2.welcomeTextSecondary {
    font-size: 26px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .welcome-card {
        height: 220px;
    }
    .welcome-card p.welcomeTextPrimary {
        font-size: 16px;
        margin-top: 60px;
    }
    .welcome-card h2.welcomeTextSecondary {
        font-size: 20px;
    }
}

.welcome-card{
    position: relative;
    border-radius: 15px;
    height: 280px;
    width: 100%;
    color: #fff;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.text-truncate{
    font-size: 14px!important;
    color:#565656!important;
}

.cardIcon{
    padding-left: 3rem!important;
    padding-right: 3rem!important;
}


body{
    background-color: var(--color-body);
}

.gc-container {
    background-color: #fff;
    border-radius: .5rem;          
    padding: 1.5rem;               
    border: 1px solid rgba(0,0,0,.125);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.25); 
}

.card{
    border: 1px solid rgba(0,0,0,.125);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.25); 
}

input{
    background: var(--color-input)!important;
}

select{
    background: var(--color-input)!important;
}

.select2{
    background: var(--color-input)!important;
}

/* =======================================================
   TABLES
======================================================= */

table.customTable {
    /*border: 2px solid var(--border-table) !important;*/
    border-radius: 6px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    width: 100%;
}

table.customTable th,
table.customTable td {
    border: none !important;
}

table.customTable tbody tr {
    /*border-bottom: 1px solid var(--border-table) !important;*/
}

table.customTable tbody tr:last-child {
    border-bottom: none !important;
}

table.customTable tbody {
    border-bottom: none !important;
}

table.customTable thead th {
    background-color: var(--thead-bg) !important;
    font-weight: 600 !important;
    /*border-bottom: 2px solid var(--border-table) !important;*/
}

table.customTable tbody tr:nth-child(odd) {
    background-color: var(--impar-tr-table) !important;
}
table.customTable tbody tr:nth-child(even) {
    background-color: var(--par-tr-table) !important;
}

table.customTable tbody tr:hover {
    background-color: var(--hover-tr-table) !important;
}



/* =======================================================
   DATATABLES
======================================================= */

table.dataTable,
table.dataTable.no-footer {
    border: 2px solid var(--border-table) !important;
    border-radius: 6px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
}

table.dataTable th,
table.dataTable td {
    border-left: none !important;
    border-right: none !important;
}

table.dataTable thead th {
    background-color: var(--thead-bg) !important;
    font-weight: 600 !important;
    border-bottom: 2px solid var(--border-table) !important;
}

table.dataTable tbody tr {
    border-bottom: 1px solid var(--border-table) !important;
}

table.dataTable tbody tr:last-child td {
    border-bottom: none !important;
}

table.dataTable tbody tr.odd {
    background-color: var(--impar-tr-table) !important;
}
table.dataTable tbody tr.even {
    background-color: var(--par-tr-table) !important;
}

table.dataTable tbody tr:hover {
    background-color: var(--hover-tr-table) !important;
}

table.dataTable.no-footer tbody,
.dataTables_scrollBody table.dataTable tbody {
    border-bottom: none !important;
}

table.dataTable tbody td {
    border-bottom: 2px solid var(--border-table) !important;
}

table.dataTable tbody tr {
    border-bottom: 1px solid var(--border-table) !important;
}

table.dataTable tbody tr:last-child {
    border-bottom: 2px solid var(--border-table) !important;
}




/* =======================================================
   GROCERY CRUD
======================================================= */

table.grocery-crud-table,
table.grocery-crud-table.no-footer {
    border: 2px solid var(--border-table) !important;
    border-radius: 6px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

table.grocery-crud-table th,
table.grocery-crud-table td {
    border-left: none !important;
    border-right: none !important;
}

table.grocery-crud-table thead th {
    background-color: var(--thead-bg) !important;
    font-weight: 600 !important;
    border-bottom: 2px solid var(--border-table) !important;
}

table.grocery-crud-table tbody tr {
    border-bottom: 1px solid var(--border-table) !important;
}

table.grocery-crud-table tbody tr:last-child td {
    border-bottom: none !important;
}

table.grocery-crud-table tbody tr.odd {
    background-color: var(--impar-tr-table) !important;
}
table.grocery-crud-table tbody tr.even {
    background-color: var(--par-tr-table) !important;
}

table.grocery-crud-table tbody tr:hover {
    background-color: var(--hover-tr-table) !important;
}

table.grocery-crud-table{
    overflow: auto!important;
}


.active-session-row {
    background-color: #e9ffe9 !important;
    border-left: 6px solid #28a745 !important;
}

.truncate {
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.color-online-green { color: #28a745 !important; font-weight: bold; }
.color-online-yellow { color: #e2b200 !important; font-weight: bold; }
.color-online-red { color: #dc3545 !important; font-weight: bold; }


table.maint td, 
table.maint th {
    white-space: normal !important;      
    word-break: break-word !important;    
    overflow-wrap: anywhere !important;   
    max-width: 1px;                       
}

table.maint {
    table-layout: auto !important;   
}

td, th {
    max-width: 350px;  
}

.tooltip-inner {
    max-width: 300px !important;
    white-space: normal !important;
    text-align: left !important;
    font-size: 12px;
}

.tooltip {
    opacity: 1 !important;
    z-index: 99999 !important;
    pointer-events: auto !important;
}

.bs-tooltip-auto {
    pointer-events: none !important;
}


.form-control{
        box-shadow: none!important;
    }

.form-control:focus{
    box-shadow: none!important;
    border: solid 1px var(--color-border-input);
}


.crud-form [switch] + label {
    min-width: 110px;         
    height: 28px;         
    line-height: 28px;
    padding: 0;
    border-radius: 20px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    font-size: 15px !important;
    font-weight: 600 !important;
    background: #dc3545 !important;
}

.crud-form [switch] + label:after {
    width: 22px;
    height: 22px;
    top: 3px;
    border-radius: 50%;
}

.crud-form [switch]:checked + label:after {
    left: calc(100% - 25px);
}


.crud-form [switch]:checked + label::before {
    content: attr(data-on-label);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    text-align: center;
    color: #fff;
}


.crud-form [switch]:not(:checked) + label::before {
    content: attr(data-off-label);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    text-align: center;
    color: white !important;
}

.crud-form [switch]:checked + label {
    background: var(--color-primary-beuty)!important;
}

.crud-form [switch]:not(:checked) + label {
    background: #dc3545 !important;
}

.content-switch-grocery{
    margin-top:5px;
}

.gc-container form .mb-3 label{
    font-size: 14px!important;
    font-weight: 600!important;
    color: #4C5D69!important;
}

.nav-tabs .nav-link.active {
    background-color: #e9ecef; /* gris bootstrap */
    border-color: #dee2e6 #dee2e6 #fff;
}