body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;

    
}

.banner {
    position: relative;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-overlay {
    width: 100%;
    max-width: 1200px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}


.section-title {
    color: #000;
    font-size: 4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 2rem;
}

.category-box {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    color: #fff;
    cursor: pointer;
}

.category-label {
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    color: white;
    margin: 0.2rem;
}

.candidate-card {
    background-color: #927bff;
    color: #fff;
    padding: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
}

.candidate-card button {
    font-weight: bold;
    font-size: 0.8rem;
}

.label-scjn {
    background-color: #814cff;
}

.label-disciplina {
    background-color: #3fbfbf;
}

.label-tepjf-sup {
    background-color: #004F72;
}

.label-tepjf-reg {
    background-color: #f68cb0;
}

.label-circuito {
    background-color: #d28bc5;
}

.label-distrito {
    background-color: #e5d91f;
    color: #000;
}

.info-icons img {
    height: 50px;
}

.info-icons .col {
    text-align: center;
    padding: 1rem;
}

.category-box {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    color: #fff;
}

.category-box .title {
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.candidate-card {
    color: #fff;
    padding: 1rem;
    margin-bottom: 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
}

.candidate-card button {
    font-weight: bold;
    font-size: 0.8rem;
}

.bg-dark {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.card-info {
    transition: transform .3s, box-shadow .3s;
  }
  .card-info:hover {
    transform: translateY(-8px);
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .15);
  }
  .card-info img {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
  }
  
/* Contenedor circular */
.icon-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;                /* centra horizontal y separa de texto */
    border-radius: 50%;                  /* círculo perfecto */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--bs-primary-rgb), .1);  /* usa el color primario de BS con 10% opacidad */
  }
  
  /* Ajusta el tamaño de la imagen dentro */
  .icon-circle img {
    max-width: 60%;
    height: auto;
  }
  
@media (max-width: 920px) {
    .category-labels {
        visibility: hidden;
        height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    .section-title {
        font-size: 3rem;
    }
}


/* Responsivo para móviles */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .category-label {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
}

.category-box {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}
.category-box .title {
    cursor: pointer;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.category-box .title i {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}
.candidatos-acordeon {
    transition: all 0.3s ease;
    padding: 0 15px 15px 15px;
}
.accordion-button:not(.collapsed) {
    color: inherit;
    background-color: inherit;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: inherit;
}
.accordion-button::after {
    filter: brightness(0) invert(1);
}
.accordion-button.collapsed::after {
    filter: brightness(0) invert(1);
}
.accordion-item {
    border: 2px solid;
    margin-bottom: 15px;
    border-radius: 12px !important;
    overflow: hidden;
}
.accordion-button {
    font-size: 1.1rem;
    padding: 1.2rem;
    font-weight: 600;
}
.accordion-body {
    padding: 1.5rem;
}
.candidate-card {
    padding: 1.2rem;
    border-radius: 10px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}
.candidate-card:last-child {
    margin-bottom: 0;
}
.candidate-card .btn {
    white-space: nowrap;
    margin-left: 15px;
    padding: 0.5rem 1rem;
    font-weight: 500;
}
@media (min-width: 768px) {
    .category-box {
        cursor: pointer;
    }
    .candidatos-acordeon {
        display: none !important;
    }
    .accordion-button {
        cursor: pointer;
    }
}