﻿
.btn-fichaje-activo {
    background-color: #C9B27A;
}

.btnFinalizarPausa {
    background: #B84A4A;
}

    .btnFinalizarPausa:hover {
        background: #D4A63C;
    }

.btn-primary-tareas-iniciar {
    --bs-btn-color: #fff;
    --bs-btn-bg: #1D2F47;
    --bs-btn-border-color: #1D2F47;
    --bs-btn-hover-color: #142033;
    --bs-btn-hover-bg: #C9B27A;
    --bs-btn-hover-border-color: #C9B27A;
    --bs-btn-focus-shadow-rgb: 172, 148, 88;
    --bs-btn-active-color: #142033;
    --bs-btn-active-bg: #AC9458;
    --bs-btn-active-border-color: #AC9458;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #D9DEE5;
    --bs-btn-disabled-border-color: #D9DEE5;
}

:root {
    --orlanz-navy: #1D2F47;
    --orlanz-navy-dark: #142033;
    --orlanz-gold: #AC9458;
    --orlanz-sand: #C9B27A;
    --orlanz-bone: #F5F5F2;
    --orlanz-muted: #6E7A8A;
    --orlanz-border: #D9DEE5;
    --orlanz-success: #3E8E63;
    --orlanz-warning: #D4A63C;
    --orlanz-danger: #B84A4A;
    --orlanz-info: #3F6EA5;
    --bs-primary-rgb: 172, 148, 88;
    --bs-secondary-rgb: 29, 47, 71;
    --bs-success-rgb: 62, 142, 99;
    --bs-info-rgb: 63, 110, 165;
    --bs-warning-rgb: 212, 166, 60;
    --bs-danger-rgb: 184, 74, 74;
    --bs-body-bg: #F5F5F2;
    --bs-body-bg-rgb: 245, 245, 242;
    --bs-body-color: #142033;
    --bs-body-color-rgb: 20, 32, 51;
    --bs-border-color: #D9DEE5;
    --bs-link-color: #AC9458;
    --bs-link-hover-color: #C9B27A;
    --bs-primary: #AC9458;
    --bs-primary-bg-subtle: #F2E9D0;
    --bs-primary-border-subtle: #C9B27A;
    --bs-secondary: #1D2F47;
    --bs-secondary-bg-subtle: #D9DEE5;
    --bs-custom-table-bg: #1D2F47;
    --bs-custom-gradiant-bg: #142033;
    --bs-nav-pills-link-active-b: #AC9458;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #AC9458;
    --bs-btn-border-color: #AC9458;
    --bs-btn-hover-color: #142033;
    --bs-btn-hover-bg: #C9B27A;
    --bs-btn-hover-border-color: #C9B27A;
    --bs-btn-focus-shadow-rgb: 172, 148, 88;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1D2F47;
    --bs-btn-active-border-color: #1D2F47;
    --bs-btn-disabled-bg: #D9DEE5;
    --bs-btn-disabled-border-color: #D9DEE5;
}

.btn-outline-primary {
    --bs-btn-color: #AC9458;
    --bs-btn-border-color: #AC9458;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1D2F47;
    --bs-btn-hover-border-color: #1D2F47;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #AC9458;
    --bs-btn-active-border-color: #AC9458;
    --bs-btn-disabled-color: #AC9458;
    --bs-btn-disabled-border-color: #AC9458;
}

.btn-check:checked + .btn-outline-primary {
    background-color: #AC9458;
    border-color: #AC9458;
    color: #fff;
}

nav .nav-pills, nav .nav-link {
    --bs-nav-pills-link-active-bg: #AC9458;
    color: #fff!important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #142033 !important;
}

.nav-principal a.nav-link:hover {
    color: #C9B27A !important;
    opacity: 1;
}


.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #1D2F47;
    --bs-btn-border-color: #1D2F47;
    --bs-btn-hover-bg: #142033;
    --bs-btn-hover-border-color: #142033;
}

.login-container {
    width: min(400px, calc(100vw - 2rem));
    max-width: 400px;
    padding: 1.5rem;
    background-color: rgba(245, 245, 242, 0.97);
    border: 1px solid rgba(217, 222, 229, 0.9);
    border-radius: 18px;
    box-shadow: 0 1.25rem 3rem rgba(20, 32, 51, 0.35);
}

.login-background {
    background: radial-gradient(circle at top, rgba(172, 148, 88, 0.22), transparent 34%), linear-gradient(145deg, #142033 0%, #1D2F47 100%);
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #142033;
}

.login-logo {
    width: min(260px, 70vw);
    height: auto;
    max-height: 240px;
    object-fit: contain;
}


#sidebar-toggler {
    position: absolute;
    left: 100%;
    bottom: 25px;
    z-index: 99;
}

#sidebar-offcanvas-toggler {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 99;
}

nav .active {
    color: #142033 !important;
}

.nav-pills .nav-link.active:hover {
    color: #142033 !important;
    background-color: #C9B27A !important;
}

.nav-pills .nav-link:hover {
    color: #fff !important;
}

.nav-pills .nav-link:active {
    color: #142033 !important;
    background: var(--bs-primary-bg-subtle) !important;
}

#loader {
    position: absolute;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-content: center;
    color: var(--bs-primary);
    background-color: rgba(0, 0, 0, 0.5);
}

    #loader > div {
        width: 5rem;
        height: 5rem;
    }

html[data-bs-theme="dark"] .logo {
    content: url("/images/LogoOrlanz.png");
}

.swal-footer {
    display: flex;
    justify-content: space-around;
}

table a {
    color: var(--bs-body-color);
}

.table-group-divider {
    border-top-color: var(--bs-primary);
}


@font-face {
    font-family: 'Proxima Nova', sans-serif;
    src: url('../fonts/Proxima Nova Reg.ttf') format('truetype'); /* Ajusta la ruta y el formato según tu fuente */
}

body {
    font-family: 'Proxima Nova', sans-serif;
    background-color: var(--orlanz-bone);
    color: var(--orlanz-navy-dark);
}

a {
    color: var(--orlanz-gold);
}

a:hover {
    color: var(--orlanz-sand);
}

.bg-primary {
    background-color: var(--orlanz-navy) !important;
}

.text-primary {
    color: var(--orlanz-gold) !important;
}

.border-primary {
    border-color: var(--orlanz-gold) !important;
}

.bg-body,
.bg-body-tertiary {
    background-color: var(--orlanz-bone) !important;
}

.text-success {
    color: var(--orlanz-success) !important;
}

.text-danger {
    color: var(--orlanz-danger) !important;
}

.btn-success {
    --bs-btn-bg: var(--orlanz-success);
    --bs-btn-border-color: var(--orlanz-success);
    --bs-btn-hover-bg: #31734f;
    --bs-btn-hover-border-color: #31734f;
}

.btn-danger {
    --bs-btn-bg: var(--orlanz-danger);
    --bs-btn-border-color: var(--orlanz-danger);
    --bs-btn-hover-bg: #983d3d;
    --bs-btn-hover-border-color: #983d3d;
}

.nav-principal {
    background-color: var(--orlanz-navy) !important;
    border-right: 1px solid rgba(201, 178, 122, 0.35);
}

.nav-principal hr {
    border-color: rgba(201, 178, 122, 0.45);
    opacity: 1;
}

.main-content {
    background-color: var(--orlanz-bone) !important;
}

.card,
.modal-content,
.dropdown-menu,
.form-control,
.form-select,
.select2-container--bootstrap .select2-selection {
    border-color: var(--orlanz-border);
}

.card,
.modal-content,
.dropdown-menu {
    background-color: #fff;
    color: var(--orlanz-navy-dark);
}

.card-header,
.modal-header {
    border-bottom-color: var(--orlanz-border);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--orlanz-gold);
    box-shadow: 0 0 0 0.25rem rgba(172, 148, 88, 0.18);
}

.table-primary {
    --bs-table-color: var(--orlanz-navy-dark);
    --bs-table-bg: #F2E9D0;
    --bs-table-border-color: var(--orlanz-sand);
    --bs-table-striped-bg: #E9DFC2;
    --bs-table-hover-bg: #E2D5B0;
}

.badge.bg-primary {
    background-color: var(--orlanz-gold) !important;
    color: #fff;
}

label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

    .table-grid > div {
        display: flex;
        flex-direction: column;
    }

.shadow-logo {
    width: 150px;
    min-height: 120px;
    box-shadow: 0 0.5rem 1rem rgba(20, 32, 51, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F5F2;
    border: 1px solid rgba(201, 178, 122, 0.35);
}

.nav-principal .logo {
    max-height: 110px;
    object-fit: contain;
}

.contentContainer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

    .contentContainer.show {
        max-height: 350px;
    }

    .contentContainer.hide {
        max-height: 0;
    }

input[readonly],
input[readonly]:focus {
    background-color: #EEF1F4;
    color: #6E7A8A;
}


input[readonly], label.readonly {
    pointer-events: none;
    cursor: not-allowed; /* Cambia el cursor a un signo de prohibido */
}

select[readonly] {
    pointer-events: none;
    background-color: #EEF1F4;
    cursor: not-allowed;
}

    /* Bloquear interacciones y cambiar el fondo cuando el select tiene readonly */
    select[readonly] + .select2-container .select2-selection {
        pointer-events: none;
        background-color: #EEF1F4 !important;
        cursor: not-allowed !important;
        opacity: 1;
    }

    /* Asegurar que el cursor de prohibido tambi?n se aplique al contenedor de Select2 */
    select[readonly] + .select2-container {
        cursor: not-allowed !important;
    }

.status-title {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--orlanz-navy-dark);
}

.color-Pendiente {
    background-color: #3E8E63;
    border-color: #3E8E63;
}
.color-Encurso {
    background-color: #D4A63C;
    border-color: #D4A63C;
}

.color-Finalizada {
    background-color: #B84A4A;
    border-color: #B84A4A;
}

.color-Expedienteencurso {
    background-color: #3F6EA5;
    border-color: #3F6EA5;
}
.color-ExpedienteFinalizado {
    background-color: #1D2F47;
    border-color: #1D2F47;
}

.button-container a {
    font-weight: 600;
    text-transform: uppercase;
    min-height: 60px;
    vertical-align: middle;
    display: grid;
    place-items: center;
    padding: 0 50px;
    color: white;
}

.logo-home {
    background: linear-gradient(145deg, #142033 0%, #1D2F47 70%, #AC9458 100%);
}

.table-responsive thead, .table-responsive thead:hover {
    background-image: linear-gradient(to right, var(--bs-custom-table-bg), var(--bs-custom-gradiant-bg));
    background-color: var(--bs-custom-table-bg);
    color: white;
}

.comment-box .bi {
    color: #B84A4A;
    cursor: pointer;
}

.accordion-header .accordion-button:not(.collapsed ) h4{
    color:#fff;
}

/*CSS CAJA COMENTARIOS*/
.comments-container h1 {
    font-size: 36px;
    color: #142033;
    font-weight: 400;
}

    .comments-container h1 a {
        font-size: 18px;
        font-weight: 700;
    }

.comments-list {
    margin-top: 30px;
    position: relative;
}

    .comments-list:before {
        content: '';
        width: 2px;
        height: 100%;
        background: #D9DEE5;
        position: absolute;
        left: 32px;
        top: 0;
    }

    .comments-list:after {
        content: '';
        position: absolute;
        background: #D9DEE5;
        bottom: 0;
        left: 27px;
        width: 7px;
        height: 7px;
        border: 3px solid #D9DEE5;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
    }

.reply-list:before, .reply-list:after {
    display: none;
}

.reply-list li:before {
    content: '';
    width: 60px;
    height: 2px;
    background: #D9DEE5;
    position: absolute;
    top: 25px;
    left: -55px;
}


.comments-list li {
    margin-bottom: 15px;
    display: block;
    position: relative;
}

    .comments-list li:after {
        content: '';
        display: block;
        clear: both;
        height: 0;
        width: 0;
    }

.reply-list {
    padding-left: 88px;
    clear: both;
    margin-top: 15px;
}

.comments-list .comment-avatar {
    width: 65px;
    height: 65px;
    position: relative;
    z-index: 99;
    float: left;
    border: 3px solid #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    overflow: hidden;
}

    .comments-list .comment-avatar img {
        width: 100%;
        height: 100%;
    }

.reply-list .comment-avatar {
    width: 50px;
    height: 50px;
}

.comment-main-level:after {
    content: '';
    width: 0;
    height: 0;
    display: block;
    clear: both;
}

.comments-list .comment-box {
    width: 95%;
    float: right;
    position: relative;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.20);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.20);
    box-shadow: 0 1px 3px rgba(0,0,0,0.20);
}

    .comments-list .comment-box:before, .comments-list .comment-box:after {
        content: '';
        height: 0;
        width: 0;
        position: absolute;
        display: block;
        border-width: 10px 12px 10px 0;
        border-style: solid;
        border-color: transparent #F5F5F2;
        top: 8px;
        left: -11px;
    }

    .comments-list .comment-box:before {
        border-width: 11px 13px 11px 0;
        border-color: transparent rgba(0,0,0,0.17);
        left: -12px;
    }



.comment-box .comment-head {
    background: #F5F5F2;
    padding: 10px 12px;
    border-bottom: 1px solid #D9DEE5;
    overflow: hidden;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
}

    .comment-box .comment-head i {
        float: right;
        margin-left: 14px;
        position: relative;
        top: 2px;
        color: #6E7A8A;
        cursor: pointer;
        -webkit-transition: color 0.3s ease;
        -o-transition: color 0.3s ease;
        transition: color 0.3s ease;
    }

        .comment-box .comment-head i:hover {
            color: #AC9458;
        }

.comment-box .comment-name {
    color: #142033;
    font-size: 14px;
    font-weight: 700;
    float: left;
    margin-right: 10px;
}

    .comment-box .comment-name a {
        color: #142033;
    }

.comment-box .comment-head span {
    float: left;
    color: #6E7A8A;
    font-size: 13px;
    position: relative;
    top: 1px;
}

.comment-box .comment-content {
    background: #FFF;
    padding: 12px;
    font-size: 15px;
    color: #142033;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}

    .comment-box .comment-content textarea {
        padding: 5px;
    }

.comment-box .comment-name.by-author, .comment-box .comment-name.by-author a {
    color: #AC9458;
}

    .comment-box .comment-name.by-author:after {
        content: 'autor';
        background: #AC9458;
        color: #FFF;
        font-size: 12px;
        padding: 3px 5px;
        font-weight: 700;
        margin-left: 10px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

/*CSS COMENTARIOS*/
.comments-container h1 {
    font-size: 36px;
    color: #142033;
    font-weight: 400;
}

    .comments-container h1 a {
        font-size: 18px;
        font-weight: 700;
    }

.comments-list {
    margin-top: 30px;
    position: relative;
}

    .comments-list:before {
        content: '';
        width: 2px;
        height: 100%;
        background: #c7cacb;
        position: absolute;
        left: 32px;
        top: 0;
    }

    .comments-list:after {
        content: '';
        position: absolute;
        background: #c7cacb;
        bottom: 0;
        left: 27px;
        width: 7px;
        height: 7px;
        border: 3px solid #dee1e3;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
    }

.reply-list:before, .reply-list:after {
    display: none;
}

.reply-list li:before {
    content: '';
    width: 60px;
    height: 2px;
    background: #c7cacb;
    position: absolute;
    top: 25px;
    left: -55px;
}

.comments-list li {
    margin-bottom: 15px;
    display: block;
    position: relative;
}

    .comments-list li:after {
        content: '';
        display: block;
        clear: both;
        height: 0;
        width: 0;
    }

.reply-list {
    padding-left: 88px;
    clear: both;
    margin-top: 15px;
}

.comments-list .comment-avatar {
    width: 65px;
    height: 65px;
    position: relative;
    z-index: 99;
    float: left;
    border: 3px solid #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    overflow: hidden;
}

    .comments-list .comment-avatar img {
        width: 100%;
        height: 100%;
    }

.reply-list .comment-avatar {
    width: 50px;
    height: 50px;
}

.comment-main-level:after {
    content: '';
    width: 0;
    height: 0;
    display: block;
    clear: both;
}

.comments-list .comment-box {
    width: 95%;
    float: right;
    position: relative;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.20);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.20);
    box-shadow: 0 1px 3px rgba(0,0,0,0.20);
}

    .comments-list .comment-box:before, .comments-list .comment-box:after {
        content: '';
        height: 0;
        width: 0;
        position: absolute;
        display: block;
        border-width: 10px 12px 10px 0;
        border-style: solid;
        border-color: transparent #F5F5F2;
        top: 8px;
        left: -11px;
    }

    .comments-list .comment-box:before {
        border-width: 11px 13px 11px 0;
        border-color: transparent rgba(0,0,0,0.17);
        left: -12px;
    }

.comment-box .comment-head {
    background: #F5F5F2;
    padding: 10px 12px;
    border-bottom: 1px solid #D9DEE5;
    overflow: hidden;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
}

    .comment-box .comment-head i {
        float: right;
        margin-left: 14px;
        position: relative;
        top: 2px;
        color: #6E7A8A;
        cursor: pointer;
        -webkit-transition: color 0.3s ease;
        -o-transition: color 0.3s ease;
        transition: color 0.3s ease;
    }

        .comment-box .comment-head i:hover {
            color: #AC9458;
        }

.comment-box .comment-name {
    color: #142033;
    font-size: 14px;
    font-weight: 700;
    float: left;
    margin-right: 10px;
}

    .comment-box .comment-name a {
        color: #142033;
    }

.comment-box .comment-head span {
    float: left;
    color: #6E7A8A;
    font-size: 13px;
    position: relative;
    top: 1px;
}

.comment-box .comment-content {
    background: #FFF;
    padding: 12px;
    font-size: 15px;
    color: #142033;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}

.comment-box .comment-name.by-author, .comment-box .comment-name.by-author a {
    color: #B84A4A;
}

    .comment-box .comment-name.by-author:after {
        content: 'autor';
        background: #B84A4A;
        color: #FFF;
        font-size: 12px;
        padding: 3px 5px;
        font-weight: 700;
        margin-left: 10px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }


/*calendario*/
.filtro-calendario-container {
    flex-direction: column;
    width: 100%;
    max-width: 200px; /* Limita el ancho de la columna de filtros */
}

.botones-filtro-calendario {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

/* Asegura que el calendario ocupe todo el ancho disponible */
#calendar {
    width: 100% !important;
    max-width: 1400px;
    min-height: 70vh;
    margin: 0 auto;
    padding: 1em;
}

.fc-direction-ltr {
    direction: ltr;
    text-align: left;
}

.botones-filtro-calendario button {
    width: 100%;
}

.fc-daygrid-day {
    height: auto !important; /* Ajustar la altura autom?ticamente */
}

.fc-daygrid-event {
    white-space: nowrap; /* Evita que el texto de los eventos se divida en varias l?neas */
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-daygrid-body {
    min-height: 80px; /* Ajusta la altura m?nima de cada celda */
}

.fc-daygrid-day-events {
    max-height: 100px; /* Limita la altura de la lista de eventos */
    overflow-y: auto; /* Activa el scroll si hay muchos eventos */
}

.evento-dia {
    width: 100%;
    height: 100%;
    position: absolute; /* Para que ocupe toda la celda */
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column; /* Asegura que los eventos est?n en l?nea separada */
    display: flex;
    align-items: center; /* Centra el texto verticalmente */
    justify-content: center; /* Centra el texto horizontalmente */
    color: white;
    border-radius: 5px; /* Opcional: bordes redondeados */
    text-align: center;
    cursor: pointer;
}

.fc-body .fc-day-grid-container {
    height: auto !important;
}

#eventsModalBody {
    display: flex;
    flex-direction: column;
    gap: .5em;
    max-height: 60vh;
    overflow-y: auto;
}

.evento-modal {
    display: flex;
    justify-content: space-between;
    align-content: center;
    gap: 1em;
    padding: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 5px;
}


.task-day {
    color: #fff;
}

.color-circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.evento-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

span.fc-day-number {
    padding: 5px;
}

@@media (width > 768px) {
    .fc-body .fc-row {
        height: 11vh !important;
    }
}

@@media (height < 768px) {

    #calendar {
        margin: 0px auto !important;
        padding-top: 8px;
    }

    .fc-body .fc-row {
        height: 10vh !important;
    }

    .fc-toolbar.fc-header-toolbar {
        margin-bottom: 0.5em;
    }
}


.home .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-bottom: 10px solid;
}

    .home .card:hover {
        transform: scale(1.05); /* Pequeño aumento al pasar el mouse */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada */
    }

.home .card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.home .card-title-2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.home .card-text {
    font-size: 0.9rem;
}

.home .table-responsive::-webkit-scrollbar {
    width: 10px;
}

.home .table-responsive::-webkit-scrollbar-track {
    background: transparent;
}

.home .table-responsive::-webkit-scrollbar-thumb {
    background-color: gray;
    border-radius: 20px;
    border: 2px solid transparent;
}


.home .table-responsive {
    scrollbar-width: thin;
    scrollbar-color: gray transparent;
}

.home #tablaResultadosNotas td:nth-child(1) {
    width: 90%;
}

.home #tablaResultadosNotas td:nth-child(2) {
    width: 8%;
}

.home #tablaResultadosNotas td:nth-child(3) {
    width: 2%;
}
/* Estilos para la tabla de ranking */
.home .position-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
}

.home .position-1 {
    background-color: #FFD700; /* Oro */
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.home .position-2 {
    background-color: #C0C0C0; /* Plata */
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

.home .position-3 {
    background-color: #CD7F32; /* Bronce */
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
}

.home .top-1-row {
    background-color: rgba(255, 215, 0, 0.05);
}

.home .top-2-row {
    background-color: rgba(192, 192, 192, 0.05);
}

.home .top-3-row {
    background-color: rgba(205, 127, 50, 0.05);
}

.home .table tr {
    transition: all 0.2s ease;
}

    .home .table tr:hover {
        background-color: rgba(13, 110, 253, 0.05);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

/* Estilo para la tabla que coincide con las tarjetas */
.home .table-responsive {
    border-radius: 0 0 0.375rem 0.375rem;
}

.home .table th {
    border-top: none;
    font-weight: 600;
    color: #white;
}

.home .table td, .table th {
    padding: 0.75rem 1rem;
    border-color: rgba(0, 0, 0, 0.05);
}

.home .ancho-72 {
    width: 72%;
    max-width: 100%; /* evita desbordamientos en pantallas pequeñas */
}

.home .card-body--alto160 {
    min-height: 93px;
}

:root {
    --custom-danger: @dangerColor;
}

.home .bi-arrow-up, .bi-arrow-down {
    stroke-width: 3px;
    -webkit-text-stroke: 1px;
    font-weight: bold;
}

.home .table-group-divider {
    border-top-color: transparent;
}

@media (max-width: 1499px) {
    .home .flex-layout-responsive {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .home .card-title-responsive {
        font-size: 1.1rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 0.25rem !important;
    }

    .home .counter-responsive {
        font-size: 1.75rem !important;
        padding-right: 0 !important;
    }
}

/* Ajustes para otros tamaños de pantalla */
@media (max-width: 1919px) and (min-width: 1400px) {
    .home .card-title-responsive {
        font-size: 1.1rem !important;
    }

    .home .counter-responsive {
        font-size: 1.75rem !important;
    }
}

@media (max-width: 1299px) and (min-width: 1200px) {
    .home .card-title-responsive {
        font-size: 0.95rem !important;
    }

    .home .counter-responsive {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .home .card-title-responsive {
        font-size: 0.9rem !important;
    }

    .home .counter-responsive {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .home .card-title-responsive {
        font-size: 1.1rem !important;
    }

    .home .counter-responsive {
        font-size: 1.75rem !important;
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    .home .card-title-responsive {
        font-size: 1rem !important;
    }

    .home .counter-responsive {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 575px) {
    .home .card-title-responsive {
        font-size: 0.9rem !important;
    }

    .home .counter-responsive {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 575.98px) {
    .home .flex-mobile-col { /* cambia la fila a columna */
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }

    .home .card-val-mobile { /* cifra un poco más pequeña */
        font-size: 2rem !important; /* antes era display-5 ≈ 3rem */
        padding-right: 0 !important;
    }

    .home .center-mobile {
        justify-content: center !important; /* ← centra la fila */
        padding-right: 0 !important; /* anula el pe-3 */
    }
}
