﻿
.header {
    margin-bottom: 30px;
  }

  .main-title {
    padding-top: 50px;
    color: #012169 !important;
    text-transform: none;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 10px;
  }

  .subtitle {
    color: #012169 !important;
    font-size: 20px;
    text-transform: none;
    font-weight: 500;
  }

  .tabs-container {
    position: relative;
    margin-bottom: 0;
  }

  .tabs-wrapper {
    display: flex;
    margin-bottom: 0;
    padding: 0 20px;
  }

  .tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 100px;
    text-align: center;
  }

  .tab-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
  }

  .tab-text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    transition: color 0.3s ease;
  }

  .tab:not(.active) .tab-text {
    color: #1e3a8a;
    position: absolute;
    bottom: 0;
    font-size: 13px;
  }

  .tab.active .tab-text {
    color: #06b6d4;
    font-weight: 600;
    position: absolute;
    bottom: 0;
    font-size: 13px;
  }

  .tab.active::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #012169;
    z-index: 10;
  }

  img.tab-img {
    margin-bottom: 50px;
  }   

  .content-container {
    background: #012169;
    border-radius: 20px;
    padding: 40px 0px;
    color: white;
    position: relative;
    margin-top: 15px;
    margin-bottom: 60px;
  }
  

  .cards-grid {
    gap: 20px;
    margin-top: 30px;
    width: 80%;
    display: flex
;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  #talleres .content-header, #viajes .content-header{
    align-self: flex-start;
  }

  .card-tab {
    background: #ECF5FE;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    max-width: 350px;
    min-width: 320px;
  }

  .card-tab-big{
    max-height: 400px;
    min-height: 350px;
  }

  .card-tab-single{
    max-width: 460px;
  }

  .card-tab-talleres{
    max-width: 188px;
    min-width: 190px;
    height: 335px;
  }

  .card-tab-viajes{
    max-width: 195px;
    min-width: 195px;
    height: 250px;
  }

  .card-tab.card-tab-bono {
    min-width: 160px;
    height: 392px;
    max-width: 235px;
}

.card-tab-donaciones{
  max-width: 180px;
  min-width: 180px;
  height: 301px
}

  .card-logo {
    margin: 20px auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1e3a8a;
    height: 80px;
  }

  .img-bravo, .img-ramos,.img-ccn{
    width: 70px !important;
  }

  .img-anthonys{
    width: 190px !important;
  }

  .img-hifi{
    width: 100px !important;
  }

  .img-catador{
    width: 150px !important;
  }

  .img-sanar{
    width: 180px !important;
  }

  .img-quiereme{
    width: 160px !important;
  }


  #viajes .cards-grid .card-tab .card-logo img{
    width: 65px;
    margin-bottom: 15px;
  }

  #viajes .cards-grid .card-tab .card-title-tab{
    font-size: 18px;
  }

  #viajes .cards-grid .card-tab .card-description-tab{
    font-size: 14px !important;
  }

  .card-logo img{
    width: 120px;
    margin-bottom: 15px;
  }

  .card-logo .img-big-tab{
    width: 250px;
    margin-bottom: 15px;
  }

  .card-title-tab {
       font-size: 20px;
        margin-bottom: 20px;
       color: #012169 !important;
       font-weight: bold;
       text-transform: none !important;
  }

  .card-description-tab {
    color: #012169 !important;
    margin-bottom: 10px;
    font-size: 15px !important;
    line-height: 1.5;
  }

  .btn-tab-millas{
    padding: 20px;
    background-color: #ecf5fe;
    border-radius: 50px;
    color: #012169 !important;
    font-weight: 500;
    font-size: 14px;
    font-family: inherit !important;
    border: none;
  }

  .tab-contentCanjes {
    display: none;
  }

  .tab-contentCanjes.active {
    display: flex;
    align-items: start;
    gap: 0;
    justify-content: space-between;
    padding-left: 50px;
  }

  .content-header p{
    font-size: 18px;
  }

  .content-header h3{
    font-size: 28px;
    color: #fff;
    font-weight: 600;
    text-transform: none;
    margin-bottom: 30px;
    margin-top: 25px;
  }

  .text-larimar{
    color: #06b6d4;
    font-size: 18px;
  }

  #login_bpd_wrapper {
    position: fixed; /* Fijo en la pantalla */
    z-index: 9999; /* Asegúrate de que el modal esté por encima de otros elementos */
}


  /* tool tip */
  .j1-tooltip{
    opacity: 1 !important;
}
.j1-tooltip + .tooltip > .tooltip-inner {
    background-color: #012169; 
    text-align:left; 
    padding:10px ; 
    opacity: 1;
    min-width: 200px;
    color: #ECF5FE;
}

.icon-tool-tip{
  color: #012169;
}

  @media (max-width: 768px) {
    .tabs-wrapper {
      justify-content: left;
      overflow-x: scroll;
      gap: 15px;
      padding: 20px 0px;
    }

    .tab {
      min-width: 80px;
      padding: 10px 5px;
    }

    .tab-text {
      font-size: 0.8rem;
    }

    .content-container {
      padding: 25px;
    }

    .cards-grid {
     flex-wrap: wrap;
     width: 100%;
    }

    .tab-contentCanjes.active{
      flex-wrap: wrap;
      padding: 0;
      text-align: center;
      justify-content: center;
    }

    .card-tab{
      max-width: 100% !important;
      min-width: 100% !important;
    }

    .card-tab-talleres, .card-tab-donaciones, .card-tab-viajes,  .card-tab.card-tab-bono  {
      height: fit-content;
    }

    .content-container {
      margin-top: -7px;
    }

    .tab.active::after {
      bottom: -13px;
  }


  }
