/*$primary: #0648B3 !default;
$secondary: #EE5050 !default;
$tertiary: #05A677 !default;*/


.btn-cyan {
    color:#FFF;
    background-color: #009688;
    border-color: #009688;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(17, 24, 39, 0.075);
}

.btn-cyan:hover {
    color: #1F2937;
    background-color: #34c494;
    border-color: #28c08e;
}

.btn-check:focus + .btn-cyan, .btn-cyan:focus {
    color: #1F2937;
    background-color: #34c494;
    border-color: #28c08e;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(17, 24, 39, 0.075), 0 0 0 0.18rem rgba(18, 163, 118, 0.5);
}

.btn-check:checked + .btn-cyan, .btn-check:active + .btn-cyan, .btn-cyan:active, .btn-cyan.active, .show > .btn-cyan.dropdown-toggle {
    color: #1F2937;
    background-color: #40c79a;
    border-color: #28c08e;
}

.btn-check:checked + .btn-cyan:focus, .btn-check:active + .btn-cyan:focus, .btn-cyan:active:focus, .btn-cyan.active:focus, .show > .btn-cyan.dropdown-toggle:focus {
    box-shadow: inset 0 3px 5px rgba(17, 24, 39, 0.125), 0 0 0 0.18rem rgba(18, 163, 118, 0.5);
}

.btn-cyan:disabled, .btn-cyan.disabled {
    color:#FFF;
    background-color: #009688;
    border-color: #009688;
}

.bg-cyan {
    background-color: #009688 !important;
}

.btn-orange {
    color:#FFF;
    background-color: #FF7F00;
    border-color: #FF7F00;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(17, 24, 39, 0.075);
}

.btn-orange:hover {
    color: #1F2937;
    background-color: #FF9932;
    border-color: #FF7F00;
}
/*
.btn-check:focus + .btn-orange, .btn-orange:focus {
    color: #1F2937;
    background-color: #34c494;
    border-color: #28c08e;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(17, 24, 39, 0.075), 0 0 0 0.18rem rgba(18, 163, 118, 0.5);
}

.btn-check:checked + .btn-orange, .btn-check:active + .btn-orange, .btn-cyan:active, .btn-orange.active, .show > .btn-orange.dropdown-toggle {
    color: #1F2937;
    background-color: #40c79a;
    border-color: #28c08e;
}

.btn-check:checked + .btn-orange:focus, .btn-check:active + .btn-orange:focus, .btn-orange:active:focus, .btn-orange.active:focus, .show > .btn-orange.dropdown-toggle:focus {
    box-shadow: inset 0 3px 5px rgba(17, 24, 39, 0.125), 0 0 0 0.18rem rgba(18, 163, 118, 0.5);
}

.btn-orange:disabled, .btn-orange.disabled {
    color:#FFF;
    background-color: #FF7F00;
    border-color: #FF7F00;
}

.bg-orange {
    background-color: #FF7F00 !important;
}*/

.headerRegister, .header-primary{
    background: #009688;
    color: #fff;
}

.headerUpdate{
    background: #007bff;
    color: #fff;
}

.modal-title2{
    color: #fff;
}

.notBlock {
    display: none;
}

.toggle-flip input[type="checkbox"] {
  display: none;
}

.toggle-flip input[type="checkbox"] + .flip-indecator {
  position: relative;
  width: 60px;
  height: 30px;
  display: block;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-perspective: 90px;
          perspective: 90px;
}

.toggle-flip input[type="checkbox"] + .flip-indecator:before, .toggle-flip input[type="checkbox"] + .flip-indecator:after {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: 100%;
  line-height: 30px;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  text-align: center;
  border-radius: 3px;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.toggle-flip input[type="checkbox"] + .flip-indecator:before {
  content: attr(data-toggle-off);
  background-color: #ddd;
}

.toggle-flip input[type="checkbox"] + .flip-indecator:after {
  content: attr(data-toggle-on);
  background-color: #009688;
  color: #fff;
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}

.toggle-flip input[type="checkbox"]:checked + .flip-indecator:before {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.toggle-flip input[type="checkbox"]:checked + .flip-indecator:after {
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
}

.toggle-flip input[type="checkbox"]:disabled + .flip-indecator {
  cursor: not-allowed !important;
  color: #ccc;
}

@-webkit-keyframes toggleBtn {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-1px);
            transform: translateX(-1px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@keyframes toggleBtn {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-1px);
            transform: translateX(-1px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
.jsDataTable-info {
  margin: 7px 0; 
  padding: 5px;
}

.btnExport {
    padding: 5px;
}

#divLoading {
    position: fixed;
    top: 0;
    /*max-width: 500px !important;*/
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(254, 254, 255, 0.65);
    z-index: 9999;
    display: none;
}

#divLoading img {
    width: 50px;
    height: 50px;
}

.inline{
    display: inline;
}
.left {
    float: left;
}

.right{
    float: right;
}

.required{
    color: red;
    font-size: 13pt;
    font-weight: bold;
}
.image_area {
  position: relative;
}

.preview {
    overflow: hidden;
    width: 160px; 
    height: 160px;
    margin: 10px;
    border: 1px solid red;
}

.overlay {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  height: 0;
  transition: .5s ease;
  width: 100%;
}

.image_area:hover .overlay {
  height: 50%;
  cursor: pointer;
}

.text {
  color: #333;
  /*font-size: 20px;*/
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.image-mdd {
    height: 8rem;
}

#map{
  /* width: auto; */
  /* height: 100%; */
  height:340px;
  width:100%; 
  max-width: 100%; 
  max-height: 500px;
  /* position: fixed; */
}

#mapa { 
/*    width: 60%;*/
    width: 100%;
    height: 680px;
    padding: 0;
/*    box-shadow: 5px 5px 5px #888;*/
  }

.icon-white{
  fill:white;
}

.icon-shape-orange {
  color: #FF7F00;
  background-color: rgba(255, 127,0);
}

.concentrado {
/*    width: 3.125rem;*/
    min-width: 10rem;
    min-height: 65px;
    line-height: 1;
    flex-direction: column;
    text-align: center;
    border-radius: 0.5rem;
}

.concentrado .concentrado-titulo {
    background-color: #E11D48;
    color: #ffffff;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.275rem;
    font-weight: 500;
    text-transform: uppercase !important;
}

.concentrado .concentrado-valor {
    font-size: 1.5rem;
    padding: 0.25rem;
    background-color: #F2F4F6;
    border-top: 0;
    border-radius: 0 0 0.5rem 0.5rem;
    color: #1F2937;
    font-weight: 500;
}

.bg-orange {
  --bs-warning-rgb: 255, 127,0;
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
}

.info {
  padding: 6px 8px;
  font: 14px/16px Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 5px;
}
.info h4 {
  margin: 0 0 5px;
  color: #777;
}

.legend {
  line-height: 18px;
  color: #555;
}
.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
}

  /* Overlay de instrucciones */
    .cropper-overlay {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0,0,0,0.8);
        color: white;
        padding: 8px 20px;
        border-radius: 20px;
        font-size: 14px;
        z-index: 1000;
        pointer-events: none;
        font-weight: 500;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    /* Estilos del modal */
    #modalRecortar .modal-body {
        background: #f8f9fa;
        padding: 20px;
    }

    #modalRecortar .cropper-view-box {
        border-radius: 5px;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8);
    }

    #modalRecortar .cropper-face {
        background-color: rgba(0, 0, 0, 0.2);
    }

    #modalRecortar .cropper-line {
        background-color: rgba(255, 255, 255, 0.5);
    }

    #modalRecortar .cropper-point {
        background-color: #007bff;
        border-radius: 50%;
    }
    
    /* Estilos para botones de rotación */
    #modalRecortar .btn-outline-secondary {
        border-color: #6c757d;
        color: #6c757d;
    }
    
    #modalRecortar .btn-outline-secondary:hover {
        background-color: #6c757d;
        color: white;
    }

    /* Estilos para el modal del INE */
.ine-image-container {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    position: relative;
    overflow: hidden;
}

.ine-image-container img {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.ine-image-container img.zoomed {
    cursor: zoom-out;
}

/* Indicador de carga */
.ine-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Controles de zoom */
.zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.zoom-controls .btn {
    padding: 5px 10px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 10px;
    }
    
    .ine-image-container {
        min-height: 250px;
    }
    
    .ine-image-container img {
        max-height: 350px !important;
    }
}

/* Estilos adicionales para el modal de visualización */
.modal-ver-evento .evento-detalle-card {
    transition: all 0.3s ease;
}

.modal-ver-evento .evento-detalle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.evento-chip {
    transition: all 0.2s;
}

.evento-chip:hover {
    transform: scale(1.05);
}

.text-purple {
    color: #6f42c1;
}