.list-group {
  --bs-list-group-color: var(--bs-body-color);
  --bs-list-group-bg: var(--bs-body-bg);
  --bs-list-group-border-color: var(--bs-border-color);
  --bs-list-group-border-width: var(--bs-border-width);
  --bs-list-group-border-radius: var(--bs-border-radius);
  --bs-list-group-item-padding-x: 1rem;
  --bs-list-group-item-padding-y: 0.5rem;
  --bs-list-group-action-color: var(--bs-secondary-color);
  --bs-list-group-action-hover-color: var(--bs-emphasis-color);
  --bs-list-group-action-hover-bg: var(--bs-tertiary-bg);
  --bs-list-group-action-active-color: var(--bs-CR-gray);
  --bs-list-group-action-active-bg: var(--bs-CR-orange);
  --bs-list-group-disabled-color: var(--bs-secondary-color);
  --bs-list-group-disabled-bg: var(--bs-body-bg);
  --bs-list-group-active-color: var(--bs-CR-gray);
  --bs-list-group-active-bg: var(--bs-CR-orange);
  --bs-list-group-active-border-color: #072934;
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  border-radius: var(--bs-list-group-border-radius);
}

.card {
  background-color: #f0f0f0;
}



li::marker {
    color: var(--bs-CR-orange);
}

th {
  background-color: var(--bs-CR-orange);
  color: white;
  font-family: 'hedliner', sans-serif;
}

select{
  border-radius : 13px;
  padding: 5px;
}

::selection {
  background-color: var(--bs-CR-orange);/* Fondo de selección */
  color: white;              /* Color del texto seleccionado */
}


.Content-Divs h1,
.Content-Divs h2,
.Content-Divs h3,
.Content-Divs h4,
.Content-Divs h5,
.Content-Divs h6 {
  position: relative;
  padding-left: 15px;
}

.Content-Divs h1::before,
.Content-Divs h2::before,
.Content-Divs h3::before,
.Content-Divs h4::before,
.Content-Divs h5::before,
.Content-Divs h6::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 60%; /* Ajustá según se vea mejor */
  background-color: var(--bs-CR-orange);
  border-radius : 13px;
}

.Content-Divs {
background: white;
color: black ;
padding: 15px;
border-radius : 13px;
}

button {
  border-radius : 13px;
}


.form-control {
  font-family: 'hedliner', sans-serif;
  color: #072934;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:focus + .slider {

}

.slider.round {
  border-radius : 13px;
}

.slider.round:before {
  border-radius: 50%;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #eb7e20;
}

input:focus + .slider {

}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider.round {
  border-radius : 13px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Drag & Drop (Lo demás está en js)*/
.list-group-item {
  user-select: none;
}
.list-group-item.dragging {
  opacity: 0.3;
}
.list-group-item.over {
  background: linear-gradient(135deg, var(--bs-CR-orange), #eeeeee6a);
  border: 1px solid var(--bs-CR-orange-2); /* Add a dashed border to indicate the drop target */
}

@font-face {
  font-family: 'hedliner';
  src: url('../fonts/hedliner-webfont.woff') format('woff'),
  url('../fonts/hedliner-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-bg-opacity: 1; /* Define una variable CSS para la opacidad */
}

.bg-primary {
  background-color: rgba(192, 96, 28, var(--primary-bg-opacity)) !important;
}

@media (max-width: 720px) {
  img {
      display: none;
  }
}

.list-group-item {
  background-color: #f5f5f5;
}

/* Estilos para gráficas de dona */
.doughnut-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.doughnut-chart {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    height: 350px;
    position: relative;
}

.doughnut-chart canvas {
    max-height: 100%;
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .doughnut-container {
        flex-direction: column;
    }
    
    .doughnut-chart {
        min-width: 250px;
        max-width: 100%;
        height: 300px;
    }
}

/* Estilos para la clave de colores */
.color-key-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
    padding: 10px 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.color-key-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'hedliner', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.color-label {
    color: #495057;
    font-weight: 600;
}

/* Responsive para la clave de colores */
@media (max-width: 768px) {
    .color-key-container {
        flex-direction: column;
        align-items: center;
    }
    
    .color-key-section {
        min-width: 200px;
        width: 100%;
    }
    
    .color-key-items {
        align-items: center;
    }
    
    .color-key-item {
        justify-content: center;
        text-align: center;
    }
}
