/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require bootstrap-datepicker
 *= require_tree .
 *= require_self
 */

@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');






html,
body {
  width: 100%;
  height: 100%;

}

html {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  min-height: 100%;
  position: relative;
}

body {
  margin: 0;
  margin-bottom: 40px;
  font-size: 1.2rem;

}

table {
  border-collapse: collapse;
}

th {
  text-align: inherit;
}

.card-header {
  margin-bottom: 0;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, .55);
  background-color: #fff;
}

.field_with_errors {
  +br {
    display: none;
  }

  input,
  select {
    border: 1px solid red;
  }
}

footer {
  position: fixed;
  left: 0px;
  bottom: 0px;
  height: 50px;
  width: 100%;
  background: #999;
}

.minh-100 {
  height: 100vh;
}


.info-box {
  min-height: 100px;
  background: #fff;
  width: 100%;
  margin-bottom: 10px;
  padding: 15px;
}

.info-box-icon {
  float: left;
  height: 70px;
  width: 70px;
  text-align: center;
  font-size: 30px;
  line-height: 74px;
  background: rgba(0, 0, 0, .2);
  border-radius: 100%;
}

.info-box-content {
  padding: 10px 10px 10px 0;
  margin-left: 90px;
}

.info-box-number {
  font-weight: 300;
  font-size: 21px;
}

.info-box-text,
.progress-description {
  display: block;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 300;
}

.bg-blue {
  background-color: #398bf7;
}

.static-head {
  background-color: transparent !important;
}

.scrolled {
  background-color: #fff !important;
}

.field_with_errors {
  +br {
    display: none;
  }

  input,
  select {
    border: 1px solid red;
  }
}

.row-cuatro {
  background: image-url("dog_2.jpg") no-repeat right;
  height: 400px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-size: 100% 200%;
  font-weight: 700;
  color: #fff;
}

.wellcome-heading>h2 {
  font-size: 2.5rem;
  color: #1482aa;
  font-weight: 300;
  position: relative;
  z-index: 3;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1px;
}

.wellcome-heading>h2 span {
  font-size: 5rem;
  font-weight: 700;
}

.card_home {
  transition: transform 0.25s ease-out;
  &:hover {
    transition: all 0.2s ease-out;
    box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);
    top: -4px;
    border: 1px solid, green;
    background-color: white;
  }
}

.parrafo {
  text-align: justify;
  font-size: 15px;
  line-height: 1.7em;
}

.row-uno {
  background: image-url("vet-29.jpg") no-repeat bottom;
  height: 600px !important;
  background-size: 100% 130%;
  background-color: #fff;
  margin-bottom: 100px;
}

.row-dos {
  height: 400px;
  background-size: 100% 130%;
  background-color: #fff;
  padding-top: 80px;
  margin-bottom: 100px;
}

.row-tres {
  background: image-url("vet-29.jpg") no-repeat bottom;
  height: 400px;
  background-size: 100% 130%;
  background-color: #fff;
  padding-top: 80px;
}



@media (max-width: 600px) {
  .row-dos {
    height: 700px;
    background-size: 100% 40%;
    background-color: #fff;
  }
}

.select2-container {
  width: 100% !important;
}

.row-tres-tres {
  text-align: left;
  display: flex;
  flex-direction: row;
  width: 30%;
  height: 80%;
  background-color: #fff;
  border-radius: 20px;
  margin-left: 100px;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 10px;
  padding-right: 20px
}

@media (max-width: 600px) {
  .row-cuatro {
    height: 600px;
  }
}

.mt-15 {
  margin-top: 15px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-50 {
  margin-top: 50px;
}

.mt-100 {
  margin-top: 100px;
}

.mt-150 {
  margin-top: 150px;
}

.mr-15 {
  margin-right: 15px;
}

.mr-30 {
  margin-right: 30px;
}

.mr-50 {
  margin-right: 50px;
}

.mr-100 {
  margin-right: 100px;
}

.mb-15 {
  margin-bottom: 15px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-50 {
  margin-bottom: 50px;
}

.mb-100 {
  margin-bottom: 100px;
}

.ml-15 {
  margin-left: 15px;
}

.ml-30 {
  margin-left: 30px;
}

.ml-50 {
  margin-left: 50px;
}

.ml-100 {
  margin-left: 100px;
}

.ml-150 {
  margin-left: 150px;
}

.ml-200 {
  margin-left: 200px;
}

.pl-15 {
  margin-bottom: 15px;
}

h1,
h2,
h3,
h4,
h5 {
  color: #1482aa;
}

.hover {
  background-color: #F4F6F7;
}

.header_admin {
  background-color: #1F618D;
}



.cmn-divfloat {
  position: fixed !important;
  bottom: 45px;
  right: 40px;
}

.cmn-btncircle {
  width: 40px !important;
  height: 40px !important;
  padding: 6px 0px;
  border-radius: 15px;
  font-size: 18px;
  text-align: center;
}

.border-start {
  border-left: 1px solid #e0e0e0 !important;
}

.border-4 {
  border-width: 4px !important;
}

.card-raised {
  border: none;
  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
}

.border-primary {
  border-color: #007bff !important;
}

.border-warning {
  border-color: #ffb300 !important;
}

.border-secondary {
  border-color: #9c27b0 !important;
}

.border-info {
  border-color: #26a69a !important;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 31px;
  height: 12px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.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: 12px;
  width: 12px;
  left: 4px;
  bottom: 0px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

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

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

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

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

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

table {
  th {
    color: #1482aa;
    font-size: 13px;
  }

  td {
    color: #34495E;
    font-size: 13px;
  }
}

ul {
  list-style: none;
}

.dataTables_length,
.dataTables_info,
.dataTables_filter {
  color: #34495E;
  font-size: 12px;
}


@media print {

  body {
    background-color: transparent;
    color: grey;
    max-height: 50%;
  }


  h1,
  h4,
  h5 {
    color: grey;
  }

  h1 {
    font-size: 25px;
  }

  hr {
    display: none;
  }

  #info_ticket {
    width: 300px;
    height: 100%;
    color: grey;
  }

  #printPageButton {
    display: none;
  }
}

border {
  border-left: 5px

}

/* Fallback para iPad/Safari antiguo: mostrar menú usuario al tocar (focus) si el JS de Bootstrap no abre el dropdown */
.dropdown { position: relative; }
.dropdown:focus-within .dropdown-menu,
.dropdown .dropdown-menu.show {
  display: block;
}
.dropdown-menu-end {
  right: 0;
  left: auto;
}

/* Suscripción: viñetas (discos) a la izquierda de cada ítem */
.subscription-plan-list {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 1.5rem;
}
.subscription-plan-list li::marker {
  color: #212529;
}
[data-bs-theme="dark"] .subscription-plan-list li::marker {
  color: rgba(255, 255, 255, 0.88);
}

/* Suscripción: radios ocultos (clase visually-hidden en el widget); borde azul vía .subscription-plan-option--selected (JS) */
.subscription-plan-picker {
  --subscription-plan-border: var(--bs-border-color);
  --subscription-plan-active: var(--bs-primary, #0d6efd);
}
.subscription-plan-option {
  position: relative;
  padding: 1rem 0.75rem;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
/* Refuerzo: ningún estilo de reboot/form debe mostrar el círculo del radio */
.subscription-plan-picker input[type="radio"].visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  appearance: none !important;
  opacity: 0 !important;
}
.subscription-plan-option + .subscription-plan-option {
  border-top: 1px solid var(--subscription-plan-border);
}
.subscription-plan-option--selected {
  border-color: var(--subscription-plan-active) !important;
  background-color: rgba(13, 110, 253, 0.1);
  background-color: rgba(var(--bs-primary-rgb), 0.12);
}
.subscription-plan-option:focus-within:has(input:focus-visible) {
  outline: 2px solid var(--subscription-plan-active);
  outline-offset: 2px;
}
.subscription-plan-row .subscription-plan-price {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
}
.subscription-plan-row .subscription-plan-price-unit {
  font-size: 1rem;
  font-weight: 500;
}

/* Manual de ayuda: títulos en negrita, secciones separadas por línea */
.sgveti-help-manual .sgveti-help-section + .sgveti-help-section {
  border-top: 1px solid var(--bs-border-color);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}
.sgveti-help-manual-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bs-body-color);
  margin-bottom: 0.75rem;
}
.sgveti-help-manual p {
  text-align: justify;
  text-justify: inter-word;
}

/*
 * Selector de tema: debe quedar por encima de tarjetas y de overlays locales (p. ej. z-index: 1050 en autocompletados).
 * Por debajo de modales Bootstrap (1055) y backdrop (1050) para que el diálogo modal siga por encima.
 */
.bd-mode-toggle {
  z-index: 1054;
}
.bd-mode-toggle .dropdown-menu {
  z-index: 1055;
  background-color: var(--bs-body-bg);
}

/* Layout: sidebar visible en desktop (lg+), offcanvas en móvil. Sidebar compacto y responsive */

/* =========================================================================
   TEMA — fondo de página
   El color lo elige cada usuario en Preferencias (Blanco / Azul / Verde / Gris).
   Aquí solo el fallback si no hay variable en <html> (p. ej. visitantes).
   Las tarjetas (.card) siguen con fondo del tema Bootstrap.
   ========================================================================= */
:root {
  --sgveti-page-bg: #ffffff;
}
html {
  background-color: var(--sgveti-page-bg);
}
body {
  min-height: 100vh;
  background-color: var(--sgveti-page-bg);
}
.sgveti-layout {
  min-height: 100vh;
  width: 100%;
  background-color: transparent;
}
/* Fondo de página vía --sgveti-page-bg; sidebar y barra superior transparentes sobre body */
main.sgveti-main {
  background-color: transparent;
}
.sgveti-sidebar,
.sgveti-topbar {
  background-color: transparent;
}
/* Tarjetas y modales: superficie clara sobre el verde */
.card,
.card-header,
.card-footer {
  background-color: var(--bs-body-bg);
}
.modal-content {
  background-color: var(--bs-body-bg);
}
/* Menú de perfil (barra superior): superficie clara sobre el verde */
.sgveti-topbar .dropdown-menu {
  background-color: var(--bs-body-bg);
}
.offcanvas.sgveti-sidebar-offcanvas {
  background-color: var(--sgveti-page-bg);
}
.offcanvas.sgveti-sidebar-offcanvas .offcanvas-header {
  background-color: var(--sgveti-page-bg);
  border-bottom: none;
}
.offcanvas.sgveti-sidebar-offcanvas.offcanvas-start {
  border-right: none;
}
.sgveti-sidebar {
  min-height: 100vh;
  width: 175px !important;
  min-width: 175px !important;
  max-width: 175px !important;
  flex-shrink: 0;
}
@media (min-width: 992px) and (max-width: 1099px) {
  .sgveti-sidebar { width: 165px !important; min-width: 165px !important; max-width: 165px !important; }
}
.sgveti-main { min-width: 0; }
.sgveti-topbar { min-height: 52px; }
/* padding-bottom extra: botón flotante de tema en la esquina */
.sgveti-content { padding: 1rem 1rem max(1rem, 4rem) 1rem; }
/* Logo pequeño: multiply hace que el blanco del PNG se mezcle con el fondo (verde/azul/etc.) */
.sgveti-logo-topbar {
  height: 22px !important;
  width: auto !important;
  max-height: 22px !important;
  display: block;
  object-fit: contain;
  vertical-align: middle;
  mix-blend-mode: multiply;
}
/* Menú lateral: mismo contenido en sidebar fijo (lg) y en offcanvas (móvil); texto tamaño normal */
.sgveti-sidebar #navConfigSubmenu,
.sgveti-sidebar-offcanvas #navConfigSubmenu { padding-left: 1rem; }
.sgveti-sidebar-offcanvas {
  width: 175px !important;
  max-width: 85vw;
}
/* Ítem activo del menú: resaltar la sección actual */
.sgveti-sidebar .nav-link.active,
.sgveti-sidebar-offcanvas .nav-link.active { font-weight: 600; background-color: rgba(0, 0, 0, 0.08); border-radius: 0.25rem; }
[data-bs-theme="dark"] .sgveti-sidebar .nav-link.active,
[data-bs-theme="dark"] .sgveti-sidebar-offcanvas .nav-link.active { background-color: rgba(255, 255, 255, 0.1); }

/* Contenido principal en páginas con sidebar: el botón Menú va en el flujo, no hace falta padding extra */

/* Pestañas (nav-tabs) en todo el sitio: mismo color que títulos de card (ej. Socios nuevos), activa en negrita */
.nav-tabs .nav-link {
  color: #1482aa;
  border: 1px solid transparent;
}
.nav-tabs .nav-link:hover {
  color: #1482aa;
  border-color: #dee2e6 #dee2e6 transparent;
  isolation: isolate;
}
.nav-tabs .nav-link.active {
  color: #1482aa;
  font-weight: 700;
  background-color: var(--bs-body-bg);
  border-color: #dee2e6 #dee2e6 var(--bs-body-bg);
}
[data-bs-theme="dark"] .nav-tabs .nav-link {
  color: #5dade2;
}
[data-bs-theme="dark"] .nav-tabs .nav-link:hover,
[data-bs-theme="dark"] .nav-tabs .nav-link.active {
  color: #5dade2;
}
[data-bs-theme="dark"] .nav-tabs .nav-link.active {
  border-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.15) var(--bs-body-bg);
}

/* Títulos y botones unificados: Ficha propietario, Ficha mascota, Editar mascota, Editar propietario */
.ficha-title {
  color: #000;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0;
}
[data-bs-theme="dark"] .ficha-title {
  color: #fff;
}
.btn.btn-ficha {
  background-color: #e9ecef !important;
  color: #212529 !important;
  border-color: #ced4da !important;
}
.btn.btn-ficha:hover,
.btn.btn-ficha:focus {
  background-color: #ced4da !important;
  color: #212529 !important;
  border-color: #adb5bd !important;
}
[data-bs-theme="dark"] .btn.btn-ficha {
  background-color: #495057 !important;
  color: #fff !important;
  border-color: #495057 !important;
}
[data-bs-theme="dark"] .btn.btn-ficha:hover,
[data-bs-theme="dark"] .btn.btn-ficha:focus {
  background-color: #6c757d !important;
  color: #fff !important;
  border-color: #6c757d !important;
}

/* Paginación DataTables: mismo aspecto que botones Volver/Agregar (gris claro, hover más oscuro) */
.dataTables_wrapper .dataTables_paginate .paginate_button .page-link,
.dataTables_wrapper .dataTables_paginate .page-item .page-link,
.dataTables_wrapper .dataTables_paginate .paginate_button > a,
.dataTables_wrapper .dataTables_paginate .paginate_button > span {
  background-color: #e9ecef !important;
  color: #212529 !important;
  border-color: #ced4da !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover .page-link,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover > a,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover > span,
.dataTables_wrapper .dataTables_paginate .page-item:not(.disabled):hover .page-link {
  background-color: #ced4da !important;
  color: #212529 !important;
  border-color: #adb5bd !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current .page-link,
.dataTables_wrapper .dataTables_paginate .paginate_button.current > a,
.dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
  background-color: #ced4da !important;
  color: #212529 !important;
  border-color: #adb5bd !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled .page-link,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled > a,
.dataTables_wrapper .dataTables_paginate .page-item.disabled .page-link {
  background-color: #f8f9fa !important;
  color: #6c757d !important;
}

/* Jerarquía de títulos: página principal (un escalón más grande que secciones/pestañas) */
.sgveti-page-heading {
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.3;
}

@media (min-width: 576px) {
  .sgveti-page-heading {
    font-size: 1.55rem;
  }
}

/* Pestañas (avisos/alertas): mismo tamaño que h5; texto negro, no el azul global de .nav-tabs */
.nav-tabs.sgveti-page-tabs .nav-link {
  font-size: 1.25rem;
  font-weight: 500;
  color: #000;
}
.nav-tabs.sgveti-page-tabs .nav-link:hover {
  color: #000;
  border-color: #dee2e6 #dee2e6 transparent;
}
.nav-tabs.sgveti-page-tabs .nav-link.active {
  color: #000;
  font-weight: 700;
  border-color: #dee2e6 #dee2e6 var(--bs-body-bg);
}
[data-bs-theme="dark"] .nav-tabs.sgveti-page-tabs .nav-link,
[data-bs-theme="dark"] .nav-tabs.sgveti-page-tabs .nav-link:hover,
[data-bs-theme="dark"] .nav-tabs.sgveti-page-tabs .nav-link.active {
  color: #fff;
}
[data-bs-theme="dark"] .nav-tabs.sgveti-page-tabs .nav-link.active {
  border-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.15) var(--bs-body-bg);
}