:root{
    --amarillo: #E2AA23;
    --amarillo2: #F6C23E;
    --negro: #000;
    --azul: #3029F2;
    --azul-oscuro: #241FA6;
}
.registrar{
    margin-bottom: 2rem;
}
h1,h2,h3,h4,h5,h6{
    font-weight: 700;
}
.text-14{
    font-size: 14px!important;
}
.text-18{
    font-size: 18px;
}
.text-color{
    color: var(--amarillo);
}
.alerta .alert {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 15px;
    width: 100%;
    max-width: 500px;
    margin: auto;
    text-align: center;
    margin-bottom: 0;
    border-radius: 0;
    border: none;
    padding: 20px;
    box-shadow: 0 .15rem 1.75rem 0 rgba(58, 59, 69, .15) !important;
    z-index: 9999;
}

.fondo-login{
    background-position: top center;
    background-size: cover;
    background-blend-mode: multiply;
    background-color: #6b6b6b;
}
.fondo-login .card{
    background: rgb(255,255,255);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    margin-top: 3rem;
}
.fondo-login .card .card-body{
    color: #222;
}

#wrapper #content-wrapper{
    background: linear-gradient(45deg, #FAFDFF, #EDEDED);
}

#sidebarToggle {
    position: absolute!important;
    top: 10px!important;
    left: 1rem!important;
    width: 2.5rem;
    border-radius: 8px!important;
    background-color: #f6c23e!important;
    height: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    cursor: pointer;
}
#sidebarToggle::after {
    font-weight: 900;
    content: '\f104';
    font-family: 'Font Awesome 5 Free';
    margin-right: 0.1rem;
    color: rgba(255,255,255,0.5);
}
.sidebar-toggled #sidebarToggle::after {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  margin-left: 0.25rem;
}

.sidebar.toggled #sidebarToggle{
    z-index: 9999!important;
    position: absolute!important;
    left: 7rem!important;
}

#sidebarToggleTop{
    width: 2.5rem;
    border-radius: 8px !important;
    background-color: #f6c23e !important;
    height: 2.5rem;
    text-align: center;
    color: #333;
}

.sidebar.toggled .nav-item .nav-link i {
    
    margin-right: 0;
}

/* width */
.sidebar::-webkit-scrollbar{
    width: 5px;
}

/* Track */
.sidebar::-webkit-scrollbar-track{
    background-color: #484a54;
}

/* Handle */
.sidebar::-webkit-scrollbar-thumb{
    background: #6c6e7e; 
    border-radius: 10px;
}

/* Handle on hover */
.sidebar::-webkit-scrollbar-thumb:hover{
    background: #333; 
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item:hover,
.sidebar .nav-item .collapse .collapse-inner .collapse-item.active{
    background-color: var(--amarillo);
}



.topbar .nav-item .nav-link .img-profile{
    height: 2.5rem;
    width: 2.5rem;
}

.btn{
    border-radius: 10px;
}
.btn-azul{
    background-color: var(--azul-oscuro);
    color: #fff;
}
.btn-azul:is(:hover,:focus,:active){
    background-color: var(--azul);
    color: #fff;
}
.btn-wsp{
    background-color: #25D366;
    color: #fff;
    border-color: #25D366;
}
.btn-wsp:hover{
    background-color: #128c7e;
    border-color: #128c7e;
    color: #fff;
}

.titulo{
    font-size: 36px;
    color: #333;
    font-weight: 800;
}

.card-dash{
    border-radius: 1rem;
    overflow: hidden;
}
.card-dash .card-header{
    background-color: transparent;
/*    font-size: 18px;*/
    font-weight: 700;
    color: #333;
    border: none;
    padding: .75rem .8rem 0 .8rem;
}
.card-dash .card-header .header-icono{
    width: 38px;
    height: 38px;
    padding: .2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background-color: #f1f1f1;
    color: #333;
}

.card-dash.card-balance{
    background: linear-gradient(45deg, #161C39, #000);
    color: #fff;
}

.card-dash.card-amarilla{
    background-color: var(--amarillo2);
    border: 1px solid var(--amarillo);
    color: #444;
}
.card-dash.card-amarilla .card-header{
    color: #333;
}
.card-dash.card-amarilla .card-header .header-icono{
    background-color: var(--negro);
    color: var(--amarillo);
}
.card-dash.card-amarilla hr{
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    height: 0;
}

.card-dash.card-azul{
    border: 1px solid #55b8ff;
    background-color: #d5edff;
    color: #0095ff;
    transition: all .1s ease-in;
}
.card-dash.card-azul:hover{
    color: #0073c6;
}

.card-dash.card-dark{
    background-color: #111;
    border: 1px solid var(--negro);
    color: #fff;
}

.birthdays .birthdays-name{
    font-weight: 700;
    color: #333;
}
.birthdays .birthdays-plan{
    font-size: 14px;
}
.birthdays .birthdays-date{
    font-weight: 700;
    font-size: 15px;
    color: #333;
}

.cont-credencial .credencial{
    width: 10cm;
    height: 6cm;
    border-radius: 10px;
    border:  1px solid #e3e6f0;
}
.cont-credencial .credencial .img-user{
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: .5rem;
}
.credencial-back{
    width: 10cm;
    height: 6cm;
    border-radius: 10px;
    border: 1px solid #daa525;
    background-color: #f6c23d;
}
.credencial-back .img-back{
    margin-top: 1.3cm;
    width: 2cm;
}

.img-deportista{
    border-radius: 10px;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid #e4e6f0;
    padding: 5px;
}
table tbody tr td,
table tbody tr th{
    color: #666;
}
table img{
    aspect-ratio: .9;
    object-fit: cover;
    min-width: 80px;
}
label.form-label{
    font-weight: 700;
    color: #666;
    font-size: .95rem;
}
.nav-pills{
    gap: .3rem;
}
.nav-pills .nav-item .nav-link{
    background-color: #f1f1f1;
    color: #555;
}
.nav-pills .nav-item .nav-link.active{
    background-color: #222;
    color: #fff;
}
#imagenes figure img{
    aspect-ratio: 1;
    object-fit: cover;
}
@media screen and (min-width: 768px){
    .sidebar.toggled .nav-item .collapse{
        left: calc(6.5rem + 1rem / 2);
    }
    .sidebar.toggled {
        overflow: visible;
    }
    #sidebarToggleTop{
        display: none;
    }
}
@media screen and (max-width: 767.99px){
    .sidebar .nav-item .collapse{
        left: calc(6.5rem + 1rem / 2);
    }
    #sidebarToggleTop{
        display: block;
    }
    .titulo{
        font-size: 30px;
    }
}
@media screen and (max-width: 576px){
    .card-balance .border-end{
        border-right:0!important;
    }
}

@media (max-width: 576px) {
    .table-responsive table thead,
    .table-responsive table tfoot { display: none; }

    .table-responsive table tbody tr {
        display: block;
        margin-bottom: .75rem;
        border: 1px solid #e9ecef;
        border-radius: .75rem;
        overflow: hidden;
        background: #fff;
    }

    .table-responsive table tbody td {
        display: flex;
        flex-direction: column;
        /* display: grid; */
        /* grid-template-columns: 40% 60%; */
        align-items: center;
        padding: .5rem .75rem;
        border: 0; /* limpia bordes internos */
        text-align: center;
    }
    .table-responsive table.table-checks tbody td:first-child{
        align-items: start;
    }

    .table-responsive table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6c757d;
        /* padding-right: .5rem; */
        font-size: 11px;
        letter-spacing: .5px;
        text-transform: uppercase;
    }

    /* Celdas de acciones ocupan todo el ancho */
    .table-responsive table tbody td[data-full] *,
    .table-responsive table tbody td .dropdown,
    .table-responsive table tbody td .dropdown button {
        width: 100%;
    }
    .table-responsive table tbody td[data-full]::before { content: ""; }
    
}