/********** Template CSS **********/
:root {
    --primary: #ea0029;
    --secondary: #525368;
    --light: #F3F4F5;
    --dark: #4a4f54;
}
.bg-dark { background-color:var(--primary)!important; }
.btn-primary,
.btn-primary:hover{
    color: white !important;
    background-color:var(--primary)!important;
    border-color:var(--primary);
}
.btn-dark,
.btn-dark:hover{
    color: white !important;
    background-color:var(--dark)!important;
    border-color:var(--dark);
}
.btn-check:focus + .btn-primary, .btn-primary:focus {
    color: #000;
    background-color: #ea0029;
    border-color: #ea0029;
    box-shadow: 0 0 0 0.25rem rgba(234,0,41, 0.5);
}
.btn-check:checked+.btn-primary:focus,
.btn-check:active+.btn-primary:focus,
.btn-primary:active:focus, .btn-primary.active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .25rem rgba(234,0,41, 0.5);
}
.btn-dark {background-color:var(--dark)!important;}

.text-dark {
    color:var(--dark) !important;
}
h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6{
    color:var(--primary);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}
h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}
h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}
/***********/
.carousel{cursor: grab;}
.carousel:active{cursor: grabbing;}
.carousel-item{user-select: none;}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
    border-radius: 8px;
}
.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}
.text-primary{
    color:var(--primary)!important;
}
.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
.pointer{
    cursor: pointer;
}
.bg-light {
    background-color: #ea00291c !important;
}
.btn-primary, .btn-outline-primary:hover {
    color: var(--light);
}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px
}

.navbar .navbar-nav .nav-link {
    margin-right: 32px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 17px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}
.navbar .border-primary{border-color: var(--primary) !important;}
.navbar .bg-light{background-color: #f8f9fa !important;}
.topbar{height: 45px}
.topbar .h-100 span:not(.far),
.topbar .h-100 span:not(.fas){
    font-size: 14.5px;
}
.logo-lg{max-width:250px}
.logo-sm{max-width:65px}

@media (min-width: 1200px) and (max-width: 1399px){
    .logo-lg{max-width: 230px;}
    .navbar .navbar-nav .nav-link{font-size: 15.5px;margin-right: 28px;}
    .navbar .navbar-brand{padding-right: 30px !important;}
    .navbar a.btn{font-size: 15px;padding: 25px 17px !important;}
    .topbar .h-100 span:not(.far),
    .topbar .h-100 span:not(.fas){
        font-size: 14px;
    }
}

@media (min-width: 992px) and (max-width: 1199px){
    .logo-sm{max-width: 55px;}
    .navbar .navbar-nav .nav-link{font-size: 15.5px;margin-right: 22px;}
    .navbar .navbar-brand{padding-right: 24px !important;}
    .navbar a.btn{font-size: 15px;padding: 24px 17px !important;}
    .topbar .h-100 span:not(.far),
    .topbar .h-100 span:not(.fas){
        font-size: 14px;
    }
}

@media (max-width: 991.98px) {
    .navbar .border-primary{ border-width: 2px !important;}
    .navbar .navbar-nav .nav-link  {margin-right: 0;padding: 10px 0;font-size: 0.95rem}
    .navbar .navbar-nav {border-top: 1px solid #EEEEEE;}
    .navbar-nav .dropdown-menu {
        border: none;
        background-color: #f8f9fa  !important;
        margin-left: 1rem;
        margin-right: 1rem;
        border-left: 2px solid var(--primary);
        border-radius: 0 0 10px 10px;
        padding-left: 10px;
        margin-bottom: 10px;
    }
    .navbar-nav .dropdown-item {
        padding: 10px 15px;
        font-size: 0.9rem;
        color: var(--dark);
        border-radius: 5px;
    }
    .navbar-nav .dropdown-item.active {
        background-color: transparent;
        color: var(--primary);
        font-weight: bold;
    }
    .navbar-nav .dropdown-toggle::after {transition: transform 0.3s ease;}
    .navbar-nav .show .dropdown-toggle::after {transform: rotate(180deg);}
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        font-size: 15px;
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(74, 79, 84, .6);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(142,62,77,0.5);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    font-size: 15px;
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color:var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: none;
}
.footer p{font-size: 15px}
.footer .form-control{color: white; font-size: 15px}
.footer .form-control:focus{box-shadow: 0 0 0 0.25rem rgba(234, 0, 41, 0.35);}
.footer input::placeholder {color: white;font-size: 15px}
.copyright {padding: 23px 0;border-top: 2px solid var(--primary);color: var(--light);background: var(--dark);}
.copyright a {color: #FFFFFF;}

.copyright a:hover {
    color: var(--primary);
}
.card-header .toggle-icon {
    transition: transform .3s ease;
}
/* Cuando está desplegado */
.card-header[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

/*Sidebar*/
.sidebar {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.sidebar-header {background: var(--primary);color: #fff;padding: 2rem 1rem 1.5rem;}
.profile-img {
    width: 95px;
    height: 95px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
}
.badge-role {
    background: rgba(255,255,255,.2);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: .75rem;
    margin: 2px;
}
.sidebar-info {padding: 1.4rem;background: linear-gradient(to bottom, #fafafa, #f4f4f4);border-bottom: 1px solid #eee;}
.info-item {display: flex;flex-direction: column;margin-bottom: 12px;}
.info-item:last-child {margin-bottom: 0;}
.info-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--secondary);
    margin-bottom: 4px;
}
.info-value {font-size: .95rem;font-weight: 500;color: var(--dark);}
.age-badge {
    background: var(--primary);
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: .75rem;
    margin-left: 6px;
}
.sidebar-menu .nav-link {color: var(--dark);padding: 12px 20px;transition: all .2s ease;}
.sidebar-menu .nav-link:hover {background: var(--light);padding-left: 26px;}
.sidebar-menu .nav-link.active {background: var(--primary);color: #fff;}
.sidebar-footer {padding: 1rem;border-top: 1px solid #eee;}
.logout-link {color: var(--primary);font-weight: 500;text-decoration: none;font-size: 0.95rem}
.logout-link:hover {color: var(--dark);opacity: .8;}

/*Content right*/
.content-right{box-shadow: 0 12px 30px rgba(0, 0, 0, .08);border-radius: 16px}
.content-right .content-header {padding: 1.2rem 1.5rem;background: #fff;border-bottom: 1px solid #eee;border-top-left-radius: 16px;border-top-right-radius: 16px}
.content-right .header-top {display: flex;justify-content: space-between;align-items: center;}
.content-right .header-top .btn {padding: 6px 14px;font-size: .85rem;border-radius: 8px;}
.content-right .page-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark);
}
.content-right .search-form {margin-top: 1rem;}
.content-right .search-box {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 30px;
    padding: 4px 12px;
    width: 100%;
    transition: all .2s ease;
}
.content-right .search-box input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: .9rem;
    padding: 6px 8px;
}
.search-box input:focus {box-shadow: none;}
.content-right .search-box:focus-within {background: #fff;box-shadow: 0 0 0 3px rgba(234,0,41,.1);}
.btn-search {background: none;border: none;color: var(--secondary);cursor: pointer;}
.content-right .card-body{padding: 1.2rem 1.5rem;}
.content-right .card-body h5 {
    font-size: 1.4rem;
    font-weight: 600 !important;
    margin: 0;
    color: var(--dark);
}
.content-right .card-footer {
    background: #fafafa;
    border-top: 1px solid #eee;
    padding: 1rem 1.5rem;
    font-size: .9rem;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
}
@media (min-width: 992px){
    .content-header {display: flex;justify-content: space-between;align-items: center;}
    .search-form {margin-top: 0;width: 280px;}
}
@media (min-width: 768px) {
    .header-top {gap: 16px;}
}
/*Forms*/
.forms-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark);
    margin-bottom: 6px;
}
.forms-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--dark);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.forms-input:focus {outline: none;border-color: var(--primary);box-shadow: 0 0 0 4px rgba(234,0,41,0.08);}
.forms-input-icon-group {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.forms-input-icon-group:focus-within {border-color: var(--primary);box-shadow: 0 0 0 4px rgba(234,0,41,0.08);}
.forms-input-icon-group i {padding: 0 12px;color: var(--primary);font-size: 0.9rem;}
.forms-input-icon-group .forms-input {border: none;border-radius: 0;box-shadow: none !important;}
.checkbox-custom {display: flex;align-items: center;gap: 10px;}
.checkbox-custom input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all .2s ease;
}
.checkbox-custom input[type="checkbox"]:hover {border-color: var(--primary);}
.checkbox-custom input[type="checkbox"]:checked {background: var(--primary);border-color: var(--primary);}
.checkbox-custom input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.checkbox-custom label {font-size: 0.9rem;cursor: pointer;font-weight: 500;color: var(--dark);}
.file-input .file-caption {
    background-color: #ffffff;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: none;
    font-size: 0.9rem;
}
.note-btn-group .note-btn{background-color: #ffffff;}
.note-editor.note-frame .note-placeholder,
.note-editor.note-frame .note-editing-area .note-editable{font-size: 0.9rem;}
.bootstrap-select {width: 100% !important;}
.bootstrap-select .dropdown-toggle {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--dark);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select.show .dropdown-toggle {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(234,0,41,0.08);
}
.bootstrap-select .filter-option {display: flex;align-items: center;font-weight: 400}
.bootstrap-select .dropdown-menu {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    margin-top: 4px;
}
.bootstrap-select>.dropdown-toggle.bs-placeholder{font-size: 0.95rem;color: var(--dark)!important;font-weight: 400;opacity: 0.95;}
.bootstrap-select .dropdown-menu{border-radius: 10px;border: 2px solid #e2e8f0;padding: 8px;}
.bootstrap-select .bs-searchbox{padding: 4px 6px 10px 6px;}
.bootstrap-select .bs-searchbox input{
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color .2s, box-shadow .2s;
}
.bootstrap-select .bs-searchbox input:focus{outline: none;border-color: var(--primary);box-shadow: 0 0 0 3px rgba(234,0,41,0.08);}
.bootstrap-select .dropdown-menu li a{
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: var(--dark);
    transition: all .15s ease;
}
.bootstrap-select .dropdown-menu li a:hover{background: rgba(234,0,41,.08);color: var(--primary);}
.bootstrap-select .dropdown-menu li.selected a{background: rgba(234,0,41,.12);color: var(--primary);font-weight: 600;}
.bootstrap-select .dropdown-menu li.selected a span.check-mark{color: var(--primary);}
.input-group{border: 2px solid #e2e8f0;border-radius: 10px;overflow: visible;}
.input-group:focus-within{border-color: var(--primary);box-shadow: 0 0 0 4px rgba(234,0,41,0.08);}
.input-group .form-control{
    border: none;
    box-shadow: none;
    font-size: 0.95rem;
    padding: 10px 14px;
}
.input-group .form-control:focus{box-shadow: none;}
.input-group-append{display: flex;}
.input-group .btn{
    border: none;
    border-left: 1px solid #e2e8f0;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.input-group .btn:hover{background: rgba(234,0,41,.06);}
.custom-range::-webkit-slider-runnable-track {background: #dee2e6;height: 8px;border-radius: 5px;}
.custom-range::-webkit-slider-thumb {
    background: #ea0029 !important;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(234, 0, 41, 0.4);
    width: 20px;
    height: 20px;
    margin-top: -6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.custom-range:active::-webkit-slider-thumb {transform: scale(1.2);box-shadow: 0 0 10px rgba(234, 0, 41, 0.6);}
.custom-range::-moz-range-thumb {
    background: #ea0029;
    border: 2px solid #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.custom-range::-moz-range-progress {background-color: #ea0029;height: 8px;border-radius: 5px;}
textarea.form-control{font-size: 0.9rem}
/*Tables*/
.table-container {overflow-x: auto;}
.custom-table {width: 100%;border-collapse: separate;border-spacing: 0;}
.custom-table thead {background: #f9fafb;}
.custom-table thead th {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
    color: var(--secondary);
    border: none;
    padding: 14px 12px;
}
.custom-table tbody tr {transition: background .2s ease;}
.custom-table tbody tr:hover {background: rgba(234,0,41,.04);}
.custom-table td {
    padding: 14px 12px;
    border-top: 1px solid #f1f1f1;
    vertical-align: middle;
    font-size: 0.9rem
}
.table-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}
.status-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.status-toggle i {font-size: 0.75rem;}
.status-toggle.active {background: #e6f7ee;color: #1e8e5a;}
.status-toggle.active:hover {background: #d1f0e2;}
.status-toggle.inactive {background: #f1f1f1;color: #777;}
.status-toggle.inactive:hover {background: #e4e4e4;}
.status-toggle.waiting {background: #ffc1075e;color: #c19207;}
.status-toggle.waiting:hover {background: #ffc10778;}
.table-actions {white-space: nowrap;}
.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f5f5f5;
    color: var(--secondary);
    margin-right: 5px;
    transition: all .2s ease;
    text-decoration: none;
    cursor: pointer;
}
.btn-action.edit:hover {background: rgba(0,123,255,.1);color: #0d6efd;}
.btn-action.delete:hover {background: rgba(220,53,69,.1);color: #dc3545;}
#cont-rate {display: flex;gap: 5px;}
#cont-rate .btn-outline-primary {
    border: none;
    color: #ccc;
    background: transparent;
    font-size: 1.5rem;
    padding: 5px;
    transition: all 0.2s ease;
}
#cont-rate .btn-outline-primary:hover {color: #ffc107;background: transparent;transform: scale(1.2);}
#cont-rate .btn-check:checked + .btn-outline-primary {color: var(--primary);background: transparent;border: none;}
#cont-rate .btn-check:focus + .btn-outline-primary {box-shadow: none;}

/*Modals*/
.modal-content {
    border: none;
    padding: 0 !important;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.modal-header {background-color:  #ea0029;padding: 1.3rem 1.5rem;}
.modal-title {color:white;font-size: 1.3rem;}
.modal-title i {font-size: 18px !important;margin-right: 5px;}
.modal-body {padding: 1.8rem;}
.modal-footer {background-color: #f8f9fa;border-top: 1px solid #dee2e6;padding: 1.2rem;}


/* ===== JOB OFFER CARD (GLOBAL) ===== */
.job-search-card{
    border: none;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    overflow: visible;
    transition: all .3s ease;
}
.job-search-card:hover{box-shadow: 0 14px 40px rgba(0,0,0,.08);}
.job-search-header{background: linear-gradient(135deg, var(--primary), #c40022);color: #fff;padding: 1.3rem 1.6rem;border: none;}
.job-search-header small{color: rgba(255,255,255,.85) !important;}
.job-search-card .card-body{padding: 1.6rem;}
.job-search-card .form-label{
    font-weight: 600;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--secondary);
    margin-bottom: .4rem;
}
.job-control{
    font-size: 0.85rem;
    border-radius: 12px;
    border: 2px solid #e3e5e8;
    padding: .7rem 1rem;
    transition: all .25s ease;
}
.job-control:focus{
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(234, 0, 41, .15);
}
.job-btn{
    font-size: 0.9rem;
    background: var(--primary);
    border: none;
    border-radius: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: all .3s ease;
}
.job-btn:hover{transform: translateY(-2px);}
.job-search-card .btn-light{
    font-size: 0.9rem;
    border-radius: 12px;
    background: var(--light);
    border: 1px solid #e3e5e8;
    color: var(--dark);
    transition: all .2s ease;
}
.job-search-card .btn-light:hover{background: #e9ebee;}

/* Corrección reforzada para bootstrap-select */
/* Ocultamiento agresivo del select original para evitar que se vea ocupe espacio */
select.selectpicker {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

/* Eliminar flecha duplicada (chevron) de Bootstrap 5 */
.bootstrap-select .dropdown-toggle::after {
    display: none !important;
}

/* Personalización global de colores (Sobreescritura de Bootstrap Green) */
a {
    color: var(--primary);
    text-decoration: none;
    transition: color .2s ease;
}
a:hover {
    color: #c40022; /* Un rojo más oscuro para el hover */
}

/* Color de item seleccionado en dropdowns (Bootstrap-select y Navbars) */
.dropdown-item.active, 
.dropdown-item:active {
    background-color: var(--primary) !important;
    color: #fff !important;
}

/* Hover suave en items de dropdown */
.dropdown-item:hover {
    background-color: rgba(234, 0, 41, 0.08) !important;
    color: var(--primary) !important;
}

/* Table Premium (Inspired by Inversion Table) */
.table-premium {
    width: 100%;
    margin-bottom: 1.5rem;
    color: var(--dark);
    vertical-align: top;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.table-premium thead th {
    background-color: var(--primary);
    color: #fff;
    padding: 14px 15px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    border: none;
}

.table-premium tbody td {
    padding: 12px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.table-premium tbody tr:last-child td {
    border-bottom: none;
}

.table-premium tbody tr:nth-child(even) {
    background-color: rgba(0,0,0, 0.02);
}

.table-premium .val-col {
    text-align: right;
    font-weight: 600;
    color: var(--secondary);
    border-left: 1px solid #eee;
    width: 35%;
}

.table-premium tfoot td {
    background-color: var(--primary);
    color: #fff;
    padding: 12px 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-align: center;
}
/***********Paginator*************/
.custom-pager-wrapper {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 12px 16px;
}

.custom-pager-info {
    font-size: 0.95rem;
    color: #495057;
    font-weight: 500;
}

.custom-pagination {
    gap: 4px;
}

.custom-pagination .page-item .page-link {
    min-width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #198754;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease-in-out;
}

.custom-pagination .page-item .page-link:hover {
    background: #e9f7ef;
    color: #146c43;
    transform: translateY(-1px);
}

.custom-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #198754, #157347);
    color: #fff;
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.25);
}

.custom-pagination .page-item.disabled .page-link {
    background: #f1f3f5;
    color: #adb5bd;
    box-shadow: none;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .custom-pager-wrapper {
        padding: 10px 12px;
    }

    .custom-pagination .page-item .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .custom-pager-info {
        width: 100%;
        text-align: center;
    }

    .custom-pager-wrapper nav {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}