/* @import url(./loadCustomFonts.css); */

body{
  /* font-family: 'Fira Sans', sans-serif !important; */
  color: black;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.1);
  /* font-size: 11px; */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  /* font-size: 0.8rem; */
  /* font-family: 'Fira Sans', sans-serif !important; */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
} 

p.legibility {
  text-rendering: optimizeLegibility;
}
p.speed {
  text-rendering: optimizeSpeed;
}

.divImage, .divImage-3, .divImage-4, .divImage-6, .divImage-12 {
  background-size: contain;
  width: 100% !important;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.imageCol {
  position: relative !important;
}

.imgSelected {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  padding: 0 5px;
  border: 1px solid black;
  background-color: white;
}

.bg-black {
  background-color: #111 !important;
}

.messageAlert {
  font-size: 25pt;
}

.sheet {
  margin: 0;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  page-break-after: always;
  background: white;
  box-shadow: 0 .5mm 2mm rgba(0, 0, 0, .3);
  margin: 5mm auto;
}

.textSelectedImage {
  position: absolute;
  z-index: 9999;
  left: 140px;
  width: max-content;
  height: 25px;
  padding: .2em 10px;
  background-color: #3e97eb;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
}

.selected-check-icon {
  position: absolute;
  top: -7px;
  right: 4px;
  z-index: 3;
  border-radius: 50%;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btnRemoveLegend {
  position: absolute;
  top: 15px;
  z-index: 9999;
  right: -10px;
  border-radius: 10px;
  width: max-content;
  text-align: center;
  padding: .1em;
  color: #fff;
}


@media (min-width: 576px) {
  .divImage-3 {
    height: 130px;
  }
  .divImage-4 {
    height: 130px;
  }
  .divImage-6 {
    height: 130px;
  }
  .divImage-12 {
    height: 130px;
  }
  .card-image {
    height: 9vmax;
  }
}

@media (min-width: 960px) {
  .divImage-6 {
    height: 170px;
  }
  .divImage-12 {
    height: 125px;
  }
  .card-image {
    height: 9vmax;
  }
}

@media (min-width: 1200px) {
  .divImage-3 {
    height: 130px;
  }
  .divImage-4 {
    height: 150px;
  }
  .divImage-6 {
    height: 150px;
  }
  .divImage-12 {
    height: 150px;
  }
  .card-image {
    height: 7vmax;
    width: 7vmax;
  }
}

iframe {
  width:100% ;
  min-height:20cm;
  height: auto;
  border:none ;
}

#pdf-iframe {
  height: 100% !important;
}

.magic-radio {
  position: absolute;
  display: none;
}

.magic-radio[disabled] {
  cursor: not-allowed;
}

.magic-radio+label {
  position: relative;
  display: block;
  padding-left: 30px;
  cursor: pointer;
}

.magic-radio+label:hover:before {
  animation-duration: 0.4s;
  animation-fill-mode: both;
  animation-name: hover-color;
}

.magic-radio+label:before {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: 20px;
  height: 20px;
  content: '';
  border: 1px solid #c0c0c0;
}

.magic-radio+label:after {
  position: absolute;
  display: none;
  content: '';
}

.magic-radio[disabled]+label {
  cursor: not-allowed;
  color: #e4e4e4;
}

.magic-radio[disabled]+label:hover, .magic-radio[disabled]+label:before, .magic-radio[disabled]+label:after {
  cursor: not-allowed;
}

.magic-radio[disabled]+label:hover:before {
  border: 1px solid #e4e4e4;
  animation-name: none;
}

.magic-radio[disabled]+label:before {
  border-color: #e4e4e4;
}

.magic-radio:checked+label:before {
  animation-name: none;
}

.magic-radio:checked+label:after {
  display: block;
}

.magic-radio+label:before {
  border-radius: 50%;
}

.magic-radio+label:after {
  top: 6px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3e97eb;
}

.magic-radio:checked+label:before {
  border: 1px solid #3e97eb;
}

.magic-radio:checked[disabled]+label:before {
  border: 1px solid #c9e2f9;
}

.magic-radio:checked[disabled]+label:after {
  background: #c9e2f9;
}

.selectLanguage label {
  color: black;
}

.sidebar .nav-item .nav-link .img-profile, .topbar .nav-item .nav-link .img-profile {
  height: 2rem;
  width: 2rem;
}

.text-gray-300 {
  color: #dddfeb !important;
}

.text-gray-400 {
  color: #d1d3e2 !important;
}

.topbar .dropdown-list .dropdown-header {
  background-color: #4e73df;
  border: 1px solid #4e73df;
  padding-top: .75rem;
  padding-bottom: .75rem;
  color: #fff;
}

.dropdown .dropdown-menu .dropdown-header {
  font-weight: 800;
  font-size: .65rem;
}
.swal2-styled.swal2-confirm {
  border: 0;
  border-radius: 2em;
  background: initial;
  background-color: #2575fc !important;
  color: #fff;
  font-size: 1.0625em;
}

.card .card-image {
  cursor: pointer;
  margin: 1px;
}

img[data-target="#imageView"] {
  cursor: grab;
}

img[data-target="#imageView"] :hover {
  opacity: 0.5;
}

img[data-target="#imageView"] :active {
  cursor: grabbing;
}

.modal-header .close {
    padding: 0 0 !important; 
    margin: 0 I !important; 
}

.rounded-circle {
  border-radius: 50%!important;
  width: 33px;
  height: 33px;
}

.border-secondary {
  border-color: lightslategray !important;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
  font-weight: 600;
}

/* Explicit Button Border Radius */
.btn,
.btn-sm,
.btn-primary,
.btn-outline-secondary,
.btn-outline-info,
.btn-outline-success,
.btn-outline-primary,
.btn-outline-danger,
.dropdown-item {
    border-radius: 6px !important;
}

/* Button Animations and Hover Effects */
.btn {
    transition: all 0.3s ease;
    transform-origin: center;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* Dropdown Button Animations */
.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Image Selection Animations */
.image-selection-container {
    transition: all 0.3s ease;
}

.image-selection-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Subtle Pulse Animation for Important Buttons */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* .btn-primary {
    animation: pulse 2s infinite;
} */

/* Fade In Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

/* Hover Glow Effect */
.btn-outline-secondary:hover,
.btn-outline-info:hover,
.btn-outline-success:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* pulse + animated gradient for IA button */
.pulse-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(15,98,255,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(15,98,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(15,98,255,0); }
}

@keyframes gradientShift {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

.animate-gradient {
  background: linear-gradient(-45deg, #0F62FF, #73BCF7, #0F62FF, #73BCF7);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}