.main-login {
    background: url('../../../img/hero-ag_login.webp') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.main-login::before {
    /* Pseudo-elemento que actúa como overlay */
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* Color de fondo del overlay: negro con opacidad del 50% */
    background: rgba(0, 0, 0, 0.5);
    /* Asegúrate de que el overlay se quede detrás del contenido */
    z-index: -1;
}


/* Personaliza el botón de confirmación */
.swal2-confirm {
    background-color: #1ABC9C !important;
    color: #ffffff !important;
}

/* Personaliza el botón de cancelación */
.swal2-cancel {
    background-color: #d33 !important;
    color: #ffffff !important;
}

/* Personaliza el botón de negación */
.swal2-deny {
    background-color: #f6c23e !important;
    color: #ffffff !important;
}

.select2-selection {
    background-color: #fff;
    border: 0;
    border-radius: 0;
    color: #555555;
    font-size: 1rem;
    outline: 0;
    min-height: 48px;
    text-align: left;
}

.sidebar-nav .nav-content a i {
    font-size: 10px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
}

.table-danger {
    background-color: #f2dede;  /* un rojo claro */
}

/* spinner */

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff; /* Fondo del spinner en naranja semi-transparente */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
  margin: 100px auto;
  width: 50px;
  height: 40px;
  text-align: center;
  font-size: 10px;
}

.spinner > div {
  background-color: #1ABC9C;
  height: 100%;
  width: 6px;
  display: inline-block;

  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }  20% {
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}


.logo img {
    max-height: 126px;
    margin-right: 6px;
}

.logo-dash img {
    max-height: 60px;
    margin-left: 20px;
    margin-right: 80px;
}

.btn-primary {
    background-color: #1ABC9C!important;
}


a {
  color: #1ABC9C;
  text-decoration: none;
}

a:hover {
  color: #1ABC9C;
  text-decoration: none;
}

.bg-primary {
    background-color: #1ABC9C!important;
}

.dz-preview {
    display: none!important;
}

.btn-outline-primary {
    --bs-btn-color: #1ABC9C;
    --bs-btn-border-color: #1ABC9C;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1ABC9C;
    --bs-btn-hover-border-color: #1ABC9C;
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1ABC9C;
    --bs-btn-active-border-color: #1ABC9C;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #1ABC9C;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #1ABC9C;
    --bs-gradient: none;
}


/* Estilos para el área editable del editor Quill dentro de .quill-editor */
.quill-editor .ql-editor {
    min-height: 200px;  /* Altura mínima del área de edición */
    overflow-y: auto;   /* Habilita el scroll vertical si el contenido es largo */
}

/* Estilos para la barra de herramientas del editor Quill dentro de .quill-editor */
.quill-editor .ql-toolbar {
    margin-bottom: 10px;  /* Espacio debajo de la barra de herramientas */
    height: auto;         /* Ajusta la altura automáticamente */
}


/* Contenedor principal */
.select2-container--default .select2-selection--single {
    height: 40px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px 16px;
    background-color: #fff;
    display: flex;
    align-items: center;
    box-shadow: none;
    transition: border-color 0.15s ease-in-out;
}

/* Área del texto renderizado */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #495057;
    line-height: 1.5;
    padding: 0;
    margin: 0;
}

/* Flecha del select */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    position: absolute;
    top: 0;
    right: 8px;
    width: 20px;
    display: flex;
    align-items: center;
}

/* Estilo al hacer hover */
.select2-container--default .select2-selection--single:hover {
    border-color: #a1a9b3;
}

/* Estilo al estar enfocado */
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Dropdown */
.select2-container--default .select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-top: 4px;
}

/* Opciones del dropdown */
.select2-container--default .select2-results__option {
    padding: 8px 16px;
    line-height: 1.5;
}

/* Opción seleccionada */
.select2-container--default .select2-results__option--selected {
    background-color: #e9ecef;
}

/* Opción al hacer hover */
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #007bff;
    color: white;
}

/* Contenedor principal multiple */
.select2-container--default .select2-selection--multiple {
    min-height: 40px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 4px 8px;
    background-color: #fff;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;  /* Aumentamos el espacio entre tags */
}

/* Estilo de las etiquetas seleccionadas */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 6px 12px;
    margin: 0;
    display: inline-flex;  /* Cambiamos a inline-flex */
    align-items: center;
    flex-direction: row;
    white-space: nowrap;
    gap: 8px;  /* Espacio entre la X y el texto */
}

/* Texto de la etiqueta */
.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding: 0;
    order: 2;
}

/* Botón de eliminar en las etiquetas */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border: none;
    background: none;
    color: #6c757d;
    font-size: 16px;
    padding: 0;
    margin: 0;
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Cambia el símbolo × */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after {
    content: "×";
    line-height: 1;
}

/* Oculta el símbolo original */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove span {
    display: none;
}

/* Campo de búsqueda */
.select2-container--default .select2-selection--multiple .select2-search--inline {
    align-self: center;
}

.select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin: 0;
    padding: 0;
    height: 24px;
    min-width: 150px;
    font-family: inherit;
}

/* Loading overlay para editores */
.translation-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.quill-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Indicadores en las pestañas de idioma */
.nav-link[data-language] {
    position: relative;
}

.nav-link[data-language].has-translation {
    font-weight: 600;
}

.nav-link[data-language].has-partial-translation {
    font-style: italic;
}

.translation-indicator {
    display: inline-block;
    margin-left: 5px;
}

.translation-indicator i {
    font-size: 0.875rem;
}

/* Alertas mejoradas */
.alert {
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Botón de recarga */
#force-reload-translations {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
}
