﻿body {
  color: #6c757d;
  background-color: #fafbfe;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

.valid.modified:not([type=checkbox]) {
  outline: 1px solid #90EE90;
}

.invalid {
  outline: 1px solid red;
}

.validation-message {
  color: red;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.nav-pills .nav-link:not(.active) {
  color: var(--bs-gray-dark) !important;
}

.nav-item {
  cursor: pointer;
}

@media (min-width: 1106px) {
  .responsive-tab {
    flex-direction: column !important;
    max-width: 180px;
  }
}
@media (max-width: 1105px) {
  .responsive-tab {
    flex-direction: initial !important;
  }
}
.responsive-tab-item {
  max-width: 180px !important;
  display: flex !important;
}

@media (max-width: 480px) {
  .btn-group {
    position: relative !important;
    display: inline-flex !important;
    vertical-align: middle !important;
    flex-direction: column !important;
    justify-content: center !important;
    width: inherit !important;
  }
}
/*causes an element's children to appear as if they were direct children of the element's parent, ignoring the element itself.*/
.d-contents {
  display: contents !important;
}

.not-form-control {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.b-layout-header-fixed {
  z-index: 10;
}

.snackbar-stack,
.snackbar {
  z-index: 2000 !important;
}

a, .btn-link {
  color: #386A20;
}

a:hover, .btn-link:hover {
  color: #042100;
}

@media (max-width: 1104px) {
  .table-sticky-header-container {
    overflow: auto;
    height: 450px;
    width: auto;
    background-color: #fff;
  }
}
@media (min-width: 1105px) {
  .table-sticky-header-container {
    overflow: auto;
    height: 780px;
    width: auto;
    background-color: #fff;
  }
}
.table-sticky-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #fff;
}

.table-sticky-header-container tbody th {
  position: sticky;
  left: 0;
}

.hover-raise {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-raise:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-custom:hover {
    color: #6c757d !important; /* gris del texto */
    background-color: #e9ecef !important; /* gris claro */
    border-color: #6c757d !important;
}

.selection-card {
    border: 1px solid #dee2e6; /* color inicial (gris Bootstrap) */
    transition: border-color 0.3s ease; /* transición suave */
}

    .selection-card:hover {
        border-color: var(--bs-primary);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* sombra más notoria */
        transform: translateY(-3px); /* se levanta un poco */
    }

.spinner {
    font-size: 50px;
    animation: spin 1s linear infinite;
    transform: translateY(-20px);
}

@keyframes spin {
    0% {
        transform: translateY(-20px) rotate(0deg);
    }

    100% {
        transform: translateY(-20px) rotate(360deg);
    }
}

.card-warning {
    background-color: rgba(255, 255, 0, 0.05); /* Amarillo con transparencia */
    border: 1px solid rgba(212, 177, 6, 0.4); /* Amarillo oscuro pero más suave y delgado */
    color: #333; /* Texto legible */
}

.text-shadow-strong {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.75);
}