/* MODAL */
#modal_creditos .modal-content,
#modal_dudas_y_comentarios .modal-content {
  background-color: rgba(0, 0, 0, 0.85);
  text-align: center;
}

#modal_creditos .close,
#modal_dudas_y_comentarios .close {
  color: white;
}

#modal_creditos .modal-header,
#modal_creditos .modal-footer {
  background-color: transparent;
}

#modal_creditos h6,
#modal_creditos p {
  color: rgb(255, 255, 255);
}

#modal_creditos h6 {
  margin-bottom: 5px;
  margin-top: 20px;
}

#modal_creditos h6,
#modal_creditos p {
  color: rgb(255, 255, 255);
}

#modal_creditos p {
  margin-bottom: 3px;
}

#modal_aviso_privacidad {
  text-align: justify;
}

#modal_creditos .h6,
#modal_creditos h6 {
  font-size: 1rem;
  font-weight: bold;
}

#modal_creditos #img_logo_unam_2 {
  width: 80%;
}

.modal_alert .modal-header {
  background-color: var(--color-primary);
}

#modal_dudas_y_comentarios h6,
#modal_dudas_y_comentarios p {
  color: rgb(255, 255, 255);
}

.modal-body .login_logo_unam {
  width: 80px;
}

.modal-body .login_logo_dgb {
  width: 100px;
  margin-right: 60px;
}

.login_logo_unam {
  padding-left: 20px;
  padding-top: 0px;
  padding-bottom: 2px;
}

.buscar_nav {
  width: 20%;
  top: -45px;
}

.gray-background {
  background-color: rgb(240, 240, 240);
}

.select2-container--default .select2-selection--single {
  border: 1px solid #000 !important;
}


nav.navbar_secciones .nav-item.dropdown .btn.active {
  color: #fff;
  background-color: #17a2b8;
  border-color: #17a2b8;
  box-shadow: 0px 2.5px 5px 0px rgba(0, 0, 0, 0.5);
}

@keyframes highlightSectionButton {
  from {
    box-shadow: none;
  }

  to {
    box-shadow: 0px 2.5px 5px 0px rgba(0, 0, 0, 0.5);
  }
}

nav.navbar_secciones .nav-item.dropdown a:not(.active):hover {
  -webkit-animation-fill-mode: forwards;
  /* Chrome 16+, Safari 4+ */
  -moz-animation-fill-mode: forwards;
  /* FF 5+ */
  -o-animation-fill-mode: forwards;
  /* Not implemented yet */
  -ms-animation-fill-mode: forwards;
  /* IE 10+ */
  animation-fill-mode: forwards;
  /* When the spec is finished */

  animation-name: highlightSectionButton;
  animation-duration: 0.25s;
}

.section-header {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  background-image: url("admin/assets/img/fondo_panel_2.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-left: 10px solid var(--color-secondary);  
  border-radius:10px;
}
.section-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary);
  opacity: 0.1;  
  border-bottom-right-radius:10px;
  border-top-right-radius:10px;
}


.section-header h1{  
  font-weight:600;
  font-size:2em;
  font-family: var(--body-font);
  color: #001e35;
}

.section-header i{
  color: var(--color-secondary);  
}  

.card {
  border: 2px solid #d1d5db !important;
}

.datatable_light_search_light {
  position: absolute;
  top: 8px;
  width: 40%;
  right: 45px;
}

.datatable_light_search_light input {
  border: 1px solid #ced4da;
}

.datatable_light_search_light button {
  border: 1px solid #ced4da;
}

.datatable_light_search_second {
  position: absolute;
  top: 6px;
}

.datatable_light_search_second input {
  border: 1px solid #ced4da;
}

.datatable_light_search_second button {
  border: 1px solid #ced4da;
}

.btn_datatable_light {
  margin-top: -4px;
  padding-right: 15px;
}

.btn_datatable_delete_light {
  text-align: right;
  margin-right: 15px;
}

.data_table_template_light {
  border: none !important;
}

.data_table_template_light_header {
  border: none !important;
  color: #464f6d !important;
  height: 50px !important;
}

#datatable_light {
  padding: 0px !important;
}

#datatable_light #perPage {
  border: none !important;
  color: #464f6d !important;
  font-size: 14px !important;
}

.bottom_info_table {
  color: #464f6d !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding-top: 5px;
}

#datatable_light table {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0px 0px 10px rgba(188, 188, 188, 0.5);
}

#datatable_light table th {
  background-color: #1b7ce2 !important;
  color: #ffffff !important;
}

#datatable_light table th,
#datatable_light table td {
  padding: 8px !important;
  text-align: left !important;
  border-bottom: 1px solid #ddd !important;
  padding: 10px !important;
}

#datatable_light table tr:last-child td {
  border-bottom: 2px solid #ccc !important;
  top: 10px !important;
}

#datatable_light table tr.selected {
  background-color: rgba(33, 150, 243, 0.4) !important;
}

#datatable_father_child {
  padding: 0px !important;
}

#datatable_father_child #perPage {
  border: none !important;
  color: #464f6d !important;
  font-size: 14px !important;
}

#datatable_father_child table {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0px 0px 10px rgba(188, 188, 188, 0.5);
}

#datatable_father_child table th {
  background-color: #1b7ce2 !important;
  color: #ffffff !important;
  font-size: 12px !important;
}

#datatable_father_child table th,
#datatable_father_child table td {
  text-align: left !important;
  border-bottom: 1px solid #ddd !important;
  padding: 5px !important;
  font-size: 12px;
}

#datatable_father_child table tr:last-child td {
  border-bottom: 2px solid #ccc !important;
  top: 10px !important;
}

#datatable_father_child table tr.selected {
  background-color: rgba(33, 150, 243, 0.4) !important;
}

.datatable_light_btn_new {
  margin-top: -5px;
}

.card_light {
  background-color: #f1f5fc;
  border: 1px solid #f8f9fa;
  color: #464f6d !important;

}

.card_light_header {
  background: linear-gradient(135deg, #003f87 0%, #00589c 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-bottom: none !important;
  min-height: 50px !important;
  padding: 12px 16px !important;
  border-radius: 8px 8px 0 0 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.card_light_header h5,
.card_light_header i,
.card_light_header button {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.card_light_header .btn-dark {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

.card_light_header .btn-dark:hover {
  background-color: #ffffff !important;
  color: #003f87 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.card_light_search {
  width: 300px;
  margin-right: 10px;
}

.card_light_search input {
  border: 1px solid #ced4da;
}

.card_light_search button {
  border: 1px solid #ced4da;
}

.card_search_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card_light_right_label {
  font-weight: 700;
  font-size: 14px;
  margin-right: 10px;
}

.card_light_right_number {
  font-weight: bold;
  font-size: 18px;
  margin-right: 5px
}

.card-light-info-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-column-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: -10px;
}

.info-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left;
}

.info-description {
  font-size: 12px;
  color: #757575;
  margin-bottom: -5px;
  font-weight: 300;
}

.info-label {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
}

.info-icon-container {
  border-radius: 6px;
  padding: 220px 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.info-icon {
  width: 100px;
  background-color: #03a9f4;
  padding: 30px;
  border-radius: 6px;
  display: block;
  margin: auto;
}

.info-title {
  font-size: 24px;
  margin: 10px 0;
  margin-bottom: -3px;
}

.info-subtitle {
  font-size: 16px;
  color: #666;
  font-weight: 200;
}

.footer_light {
  border-top: 1px solid #ccd3e1;
}

#datatable_light_items {
  padding: 0px !important;
}

#datatable_light_items #perPage {
  border: none !important;
  color: #464f6d !important;
  font-size: 12px !important;
}


#datatable_light_items table {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0px 0px 10px rgba(188, 188, 188, 0.5);
}

#datatable_light_items table th {
  background-color: #f8f9fa !important;
  color: #464f6d !important;
  font-size: 12px !important;
}

#datatable_light_items table th,
#datatable_light_items table td {
  padding: 8px !important;
  text-align: left !important;
  border-bottom: 1px solid #ddd !important;
  padding: 10px !important;
  font-size: 12px !important;
}

#datatable_light_items table tr:last-child td {
  border-bottom: 2px solid #ccc !important;
  top: 10px !important;
}

#datatable_light_items table tr.selected {
  background-color: rgba(33, 150, 243, 0.4) !important;
}

.light_input input {
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  color: #495057;
  padding: 0.375rem 0.75rem;
}

.light_input select {
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  color: #495057;
  padding: 0.375rem 0.75rem;
}

.light_input label {
  color: #495057;
  font-weight: 400;
  font-size: 12px;
  margin-bottom: -20px;
}

.fade-out {
  animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
  display: none;
}

.btn-add-details {
  background-color: #28a745;
  border-color: #28a745;
  color: #fff;
  padding: 0.375rem 0.75rem;
  margin-top: 20px;
}

.datatable_child_btn_new {
  margin-top: -60px;
  position: absolute;
  right: 5px;
  width: 40px;
}

.th-details-table-font {
  font-size: 12px !important;
}

.center-button {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.table_light_pagination {
  margin-right: 15px;
}

.text-sorting {
  font-size: 12px;
  color: #464f6d !important;
  text-shadow: 0 1px 0 #fff;
}

.icon-sorting {
  color: #fff !important;
  text-shadow: none !important;
}

.note-editor{    
    width: 100%;
}

.block.w-full,
.w-full.block {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0 !important;
  width: 100% !important;
}

input[wire\:model\.live="search"],
input[wire\:model="search"],
input.form-control[wire\:model\.live="search"],
input.form-control[wire\:model="search"] {
  background-color: #ffffff !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 11px 18px !important;
  font-size: 14px !important;
  color: #000000 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06) !important;
  outline: none !important;
  height: 44px !important;
  line-height: 1.5 !important;
  flex: 1 1 auto !important;
  min-width: 200px !important;
  max-width: none !important;
  width: auto !important;
  display: inline-block !important;
  margin-right: 0 !important;
}

.d-inline-flex:has(div[wire\:click="clearSearch"]) input[wire\:model\.live="search"],
.d-inline-flex:has(div[wire\:click="clearSearch"]) input[wire\:model="search"],
.d-inline-flex:has(.btn-outline-secondary) input.form-control {
  border-radius: 10px !important;
  border-right: 1px solid #e2e8f0 !important;
  padding-right: 45px !important;
  margin-right: 0 !important;
}

input[wire\:model\.live="search"]::placeholder,
input[wire\:model="search"]::placeholder,
input.form-control[wire\:model\.live="search"]::placeholder,
input.form-control[wire\:model="search"]::placeholder {
  color: #9ca3af !important;
  font-weight: 400 !important;
  font-size: 14px !important;
}

input[wire\:model\.live="search"]:hover,
input[wire\:model="search"]:hover,
input.form-control[wire\:model\.live="search"]:hover,
input.form-control[wire\:model="search"]:hover {
  border-color: #cbd5e0 !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1) !important;
  background-color: #fafbfc !important;
}

.d-inline-flex:has(div[wire\:click="clearSearch"]) input[wire\:model\.live="search"]:hover,
.d-inline-flex:has(div[wire\:click="clearSearch"]) input[wire\:model="search"]:hover {
  border-right: 0 !important;
}

input[wire\:model\.live="search"]:focus,
input[wire\:model="search"]:focus,
input.form-control[wire\:model\.live="search"]:focus,
input.form-control[wire\:model="search"]:focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  background-color: #ffffff !important;
}

.d-inline-flex:has(div[wire\:click="clearSearch"]) input[wire\:model\.live="search"]:focus,
.d-inline-flex:has(div[wire\:click="clearSearch"]) input[wire\:model="search"]:focus {
  border-right: 0 !important;
}

.d-inline-flex:has(input[wire\:model\.live="search"]:focus) div[wire\:click="clearSearch"],
.d-inline-flex:has(input[wire\:model="search"]:focus) .btn.btn-outline-secondary {
  border-color: #6366f1 !important;
  border-left: 0 !important;
}

/* Estilo para campos deshabilitados (vendor) */
input[wire\:model\.live="search"]:disabled,
input[wire\:model="search"]:disabled,
input[wire\:model\.live="search"][readonly],
input[wire\:model="search"][readonly] {
  background-color: #f9fafb !important;
  border-color: #e5e7eb !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

.btn.btn-outline-secondary.d-inline-flex.h-100.align-items-center,
div[wire\:click="clearSearch"] {
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-width: 40px !important;
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  position: absolute !important;
  right: 2px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.btn.btn-outline-secondary.d-inline-flex.h-100.align-items-center:hover,
div[wire\:click="clearSearch"]:hover {
  background-color: #f3f4f6 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

.btn.btn-outline-secondary.d-inline-flex.h-100.align-items-center:active,
div[wire\:click="clearSearch"]:active {
  background-color: #e5e7eb !important;
  box-shadow: none !important;
}

.btn.btn-outline-secondary svg,
div[wire\:click="clearSearch"] svg {
  width: 18px !important;
  height: 18px !important;
  fill: #9ca3af !important;
  stroke: none !important;
  stroke-width: 2.5 !important;
  position: relative !important;
  z-index: 1 !important;
  transition: fill 0.2s ease !important;
}

.btn.btn-outline-secondary:hover svg,
div[wire\:click="clearSearch"]:hover svg {
  fill: #6b7280 !important;
}

.d-inline-flex.h-100.align-items-center {
  position: relative !important;
}
