@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
    font-family:'Poppins', sans-serif;  
}
.body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #74ebd5, #9face6);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
textarea {
    resize: none; /* Evita la redimensión */
  }
.color-icon path {
    fill: #9face6;
}
.text-xs {
    font-size: 13px;
}
.text-xl{
    font-size: 15rem;
}
.text-xxs {
    font-size: 11px;
}
.header-center th {
    vertical-align: middle; /* Centrar verticalmente */
    text-align: center; /* Centrar horizontalmente */
}
.container-login {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
}
/* estilos para las accciones del dashboard */
.card-dashboard{
    background-color: white;
    cursor: pointer;

}
.card-dashboard:hover {
    background-color: rgba(240, 229, 229, 0.978);
    cursor: pointer;

}

.div-block {
    display: block;
}

/* Estilos para formulario de creacion de socio */
.imagePreview {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.imagePreview div {
    display: inline-block;
    margin: 5px;
    position: relative;
}

.imagePreview img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}
.imagePreview p {
    width: 120px;
    justify-content: space-around;
}
.imagePreview iframe {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.imagePreview button:not(.btn-editar-come) {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 0, 0, 0.7);
    border: none;
    color: white;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
}
.image-eliminada {
        opacity: 0.4;
        position: relative;
    }

.image-eliminada::after {
        content: "Eliminada";
        color: red;
        font-weight: bold;
        position: absolute;
        top: 40%;
        left: 30%;
        background-color: rgba(255, 255, 255, 0.7);
        padding: 5px 10px;
        border-radius: 5px;
}

.btn-editar-come {
    --bs-btn-padding-y: .25rem; 
    --bs-btn-padding-x: .5rem;
     --bs-btn-font-size: .60rem;
}

.img-with{
    width: 100px;
}
.img-modal{
    width: 80%;
}

.phone-with{
    display: inline-block;
    width: 10rem;
}
.direccion-with{
    /* display: inline-block; */
    width: 57%;
}
.content-tabs{
    border-bottom: #00304E 3px solid;
}
.tabs-user{
    color: #8390A2;
    font-size: 14px;
    font-weight: 500;
    width: 12rem;
    border-radius: 0px 0px 0px 0px;
}
.tabs-user:hover{
    color:  #00304E;
    font-weight: 500;

}
.tabs-user.active{
    background-color: #9face6;
    color: white;
    font-weight: 600;
    border-radius: 0px 0px 0px 0px;    
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

.h-lista{
    max-height: 38rem; 
    overflow-y: auto;
}
#comentariosimg, #comentariosdoc{
    font-size: 12px;
}

.color-tr th{
    background-color: #1a70a6;
    color: white;
}

input[type=range]::-webkit-slider-runnable-track {
    height: 8px;
    background: #015990; /* color de fondo */
    border-radius: 8px;
  }

.icon-btn {
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
  }

  .icon-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
  }

  .icon-btn.btn-primary:hover {
    background-color: #004aad;
  }

  .icon-btn.btn-light:hover {
    background-color: #e9ecef;
  }

/* Estilo base (tu versión actual) */
.badge-recordatorio {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff8cc; /* Amarillo claro */
  color: #7a4a00; /* Marrón cálido */
  border-radius: 80px;
  font-weight: 600;
  font-size: 10px;
  padding: 8px 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.badge-recordatorio i {
  margin-right: 5px;
  color: #d89216; /* Ícono dorado */
}

.badge-recordatorio:hover {
  background-color: #fff2a8;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*  Variante para llamada programada */
.badge-llamada {
  background-color: #d6eaf8; /* Azul claro */
  color: #154360;
}

.badge-llamada i {
  color: #3498db;  /* Verde brillante */
}

.badge-llamada:hover {
  background-color: #a2d4f8;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.extra-direccion {
  display: none;
}

.bg-orange {
    background-color: #FF9900; /* Orange */
    color: white; /* White */
}

.bg-muy-alto {
    background-color:#770000;
    color: white; /* White */
}


/* ============= ofcanva */
.offcanvas-wide {
  width: 80% !important;   /* ocupa el 80% del ancho de la pantalla */
  max-width: 1300px;       /* límite máximo para pantallas grandes */
}

/* Cambia color de las etiquetas seleccionadas */
.choices__item--selectable {
  transition: background-color 0.3s ease, color 0.3s ease;
}
.choices__button {
  color: inherit !important;
  opacity: 0.9;
}

@media (max-width: 1380px) {
    .h-lista{
        max-height: 30rem; 
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
        max-height: 95%;
        font-size: 11px;
    }
    .h-lista{
        max-height: 50rem; 
        overflow-y: auto;
    }
    .content-tabs{
        flex-wrap: wrap;
    }
}

@media (max-width: 500px) { /* Ajusta según el tamaño que consideres celular */
    .form-select {
        font-size: 11px; /* Reduce aún más el tamaño */
    }
    .direccion-with{
        /* display: inline-block; */
        width: 100%;
    }
    .h-lista{
        max-height: 100%; 
        overflow-y: auto;
    }
    .tabs-user{
        font-size: 10px;
        /* colocarlo en lista */
        width: 8rem;
        border-radius: 0px 0px 0px 0px;
        white-space: nowrap; /* Evita que el texto se divida en varias líneas */
        overflow: hidden; /* Oculta el desbordamiento */
        text-overflow: ellipsis; /* Agrega "..." al final si el texto es demasiado largo */
        

    }
}

@media (min-width: 992px) {
    .sidebar-steps {
      position: sticky;
      top: 75px;
      align-self: flex-start;
      z-index: 100;
      height: fit-content;
    }
    }