/* Efecto de cambio button */
.button {
    color: #fff;
    border: transparent;
    background-color: #3e60d5;
    font-size: 1rem;
    line-height: 2.5rem;
    width: 100%;
    position: relative;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    transition: all 1s ease-in;
}

.button:hover {
    color: #3e60d5;
    background-color: transparent;
}

.button svg {
    height: 40px;
    left: 0;
    top: 0; 
    position: absolute;
    width: 100%; 
}

.button rect {      
    fill: none;
    stroke: #3e60d5;
    stroke-width: 2;
    stroke-dasharray: 450, 0;
    transition: all 0.5s linear;
}

.button:hover rect {
    stroke-width: 5;
    stroke-dasharray: 20, 300;
    stroke-dashoffset: 48;
    stroke: #3e60d5;
    transition: all 2s cubic-bezier(
        0.22, 1, 0.25, 1
    );
}

/* fin efecto */

/* galeria */
.card_galery {
    position: relative;
    left: 0;
    width: 9rem;
    height: 10rem;
    background-color: #3C343D;
    border-radius: 0.5rem;
    transition: 1000ms all;
    transform-origin: center left;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.5);
    outline: 1px solid #3C343D;
    overflow: hidden;
}

.card_galery img {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    border-radius: 0.25rem;
}

.card_galery:hover {
    cursor: pointer;
    transform: scale(1.15);
}

@keyframes cardFade {
    from {
        opacity: 0;
    } to {
        opacity: 1;
    }
}

.card_galery:hover figcaption {
    animation: cardFade 0.3s ease-in-out;
    font-size: 0.6rem;
    position: absolute;
    height: 5rem;
    width: 10rem;
    display: flex;
    align-items: end;
    background: linear-gradient(
        to top, 
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0) 100%
    );
    color: white;
    left: 0;
    bottom: 0;
    padding-left: 0.75rem;
    padding-bottom: 0.65rem;
}

.card_galery:hover ~ .card {
    font-weight: bold;
    cursor: pointer;
    transform: translateX(1.3rem);
}
/* fin galeria */


/* efecto vision de usuario */
.profile {
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0 auto;
    gap: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.profile__highlight__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    width: 100%;
    flex-grow: 1;
    font-size: 17px;
}

.profile__highlight {
    padding: 0.4rem;
    border-radius: 0.5rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.profile__header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    gap: 0.75rem;
}

.profile__name {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
}

.profile__name h2 {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    gap: 0.5rem;
}

.profile__name p {
    font-size: 1.05rem;
    color: #878789;
}

.profile__avatar {
    flex-grow: 3;
    max-width: 8rem;
    min-width: 5rem;
}

.profile__avatar img {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 1rem;
    margin: 0 auto;
    margin-top: -50%;
}
/* fin vision de usuario */


/*paneles de estadisticas*/
.alert_new{
    background: #fff;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 5px solid #ddd;
}

.alert-warning-left { 
    border-left-color: #ff8a65; 
    background: #fff5f2; 
}

.alert-info-left { 
    border-left-color: #5c67f2; 
    background: #f0f2ff;
}
    
.typed-cursor {
    display: inline-block;
    vertical-align: middle;
    margin-top: -5px;
}

  
.element-type {
    display: inline-block;
    min-height: 1.2em;
}
    
.svgMap-map-wrapper{
    background: transparent !important;
}
    
.circle-color{
    width: 1.8rem; 
    height: 1.8rem; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    flex-wrap: nowrap; 
    align-items: center;
}
    
.circle-color-ticket{
    width: 0.8rem; 
    height: 0.8rem; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    flex-wrap: nowrap; 
    align-items: center;
}

.leader-card {
      background: linear-gradient(145deg, #3EC6FF 0%, #29A8F5 50%, #1A8FE0 100%);
      border-radius: 24px;
      padding: 28px 24px 22px;
      color: #fff;
      position: relative;
      overflow: hidden;
      box-shadow: 0 12px 40px rgba(41,160,224,0.4);
    }

    .leader-card::before {
      content: '';
      position: absolute;
      right: -40px; bottom: -40px;
      width: 180px; height: 180px;
      border-radius: 50%;
      background: rgba(255,255,255,0.08);
      pointer-events: none;
    }

    .leader-card::after {
      content: '';
      position: absolute;
      right: 20px; bottom: -70px;
      width: 130px; height: 130px;
      border-radius: 50%;
      background: rgba(255,255,255,0.06);
      pointer-events: none;
    }
    
    .rank-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(255,255,255,0.22);
      border: 1.5px solid rgba(255,255,255,0.4);
      border-radius: 50px;
      padding: 3px 11px 3px 7px;
      font-size: 0.75rem;
      font-weight: 700;
    }

    .badge-dot {
      width: 17px; height: 17px;
      border-radius: 50%;
      background: rgba(255,255,255,0.3);
      display: flex; align-items: center; justify-content: center;
    }
    
    .stat-box {
      background: rgba(255,255,255,0.18);
      border: 1px solid rgba(255,255,255,0.25);
      border-radius: 14px;
      padding: 10px 6px 8px;
      text-align: center;
      flex: 1;
    }
    
    .avatar-placeholder {
      width: 68px; 
      height: 68px;
      border-radius: 50%;
      border: 3px solid rgba(255,255,255,0.5); 
      background: linear-gradient(135deg, #cce9f9 0%, #90ccf0 100%);
      overflow: hidden;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    }


    .avatar-placeholder img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    
    .stat-icon{
        font-size: 1rem;
        display: block;
        margin-bottom: 2px;
    }
    
    .stat-label {
      font-size: 0.7rem;
      font-weight: 700;
      opacity: 0.82;
      display: block;
      margin-bottom: 2px;
    }
    
    .stat-value {
      font-size: 1.1rem;
      font-weight: 900;
      line-height: 1;
    }
    
    .carousel-indicators {
      position: relative;
      bottom: unset;
      margin: 14px 0 0;
      justify-content: flex-start;
      gap: 5px;
    }

    .carousel-indicators [data-bs-target] {
      width: 22px;
      height: 5px;
      border-radius: 10px;
      background: rgba(255,255,255,0.35);
      border: none;
      opacity: 1;
      transition: width 0.3s, background 0.3s;
    }

    .carousel-indicators .active {
      width: 32px;
      background: #fff;
    }
/* fin paneles de estadisticas */