body {
  background: #f5f6f5;
  font-family: "Oswald", sans-serif;
  overflow: hidden;
}
body,
html {
  margin: 0;
  padding: 0;
}
.container {
  min-width: 80%;
}
.index {
  margin-top: -50px;
  width: 100vw;
  height: 100vh;
}

.header-fixed {
  position: fixed;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  background: whitesmoke;
  z-index: 1;
  border-bottom: 1px solid #ddd;
  padding: 1px 10px;
  padding-top: 20px;
}

@media (max-width: 768px) {
  .header-fixed {
    width: 100%;
    left: 0;
    transform: none;
    z-index: 1;
  }
}

.masthead {
  color: white;
  min-height: 30rem;
  width: 100%;
  height: 100%;
  padding-top: 0rem;
  background: url("/img/background.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.masthead h1 {
  font-size: 4rem;
  margin: 0;
  padding: 0;
}
.not-active {
  pointer-events: none;
  cursor: default;
}

.showScroll {
  overflow-y: scroll;
}

#preview {
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 2px;
  background: #fff;
  max-width: 160px;
}

#preview img {
  width: 150px;
  height: 100px;
  display: block;
}

#previewBanner {
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 2px;
  background: #fff;
  max-width: 100%;
  max-height: 130px;
}

#previewBanner img {
  width: 100%;
  height: 130px;
  display: block;
}

header {
  background: white;
  width: 100%;
  position: fixed;
  z-index: 100;
}

.myContent {
  padding-top: 100px;
}

/* linea vertical izquierda */
.vl {
  border-left: 1px solid darkgrey;
}

/* linea vertical derecha */
.vr {
  border-right: 1px solid darkgrey;
}

input:invalid {
  border: 1px solid lightsalmon;
}
select:invalid {
  border: 1px solid lightsalmon;
}

/* input:invalid:required{
    background-image: linear-gradient(to right, snow, rgb(155, 155, 152));
  } */
input:valid {
  border: 1px solid lightgrey;
}
.disabled {
  cursor: not-allowed;
  pointer-events: none;
}

.nav-icon {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: white;
  padding: 2px;
  margin-right: 6px;
  transition: all 0.2s ease;
}

.nav-link-custom {
  display: flex;
  align-items: center;
  padding: 6px 10px !important;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.nav-link-custom:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav-link-custom:hover .nav-icon {
  transform: scale(1.1);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.dataTables_wrapper .dataTables_scrollBody thead {
  visibility: collapse;
}

.table-compact td,
.table-compact th {
  padding: 2px 8px !important;
  height: 10px !important;
}

/* Evita que crezcan las filas */
#exampleTable td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px; /* ajusta según tu diseño */
}

/* Opcional: headers también */
/* table th {
  white-space: nowrap;
} */
thead input {
  width: 100%;
  font-size: 0.75rem;
  padding: 4px 8px;
}
table.dataTable thead th {
  white-space: nowrap;
  padding: 0px;
}

table thead tr.filters th {
  pointer-events: auto;
}

table thead tr.filters input {
  pointer-events: auto;
}

#enrollmentsTable thead tr.filters th.sorting,
#enrollmentsTable thead tr.filters th.sorting_asc,
#enrollmentsTable thead tr.filters th.sorting_desc {
  background-image: none !important;
}

/* IMPORTANTE: también para el header clonado por FixedHeader */
.fixedHeader-floating thead tr.filters th {
  background-image: none !important;
}

.dt-filter {
  position: relative;
}

.dt-filter-btn {
  width: 100%;
  font-size: 11px;
  padding: 2px;
  cursor: pointer;
}

.dt-filter-menu {
  display: none;
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  z-index: 9999;
  max-height: 250px;
  overflow: auto;
  width: 220px;
  padding: 5px;
}

.dt-filter-menu input[type="text"] {
  width: 100%;
  margin-bottom: 5px;
}

.dt-filter-menu label {
  display: block;
  font-size: 12px;
}

thead tr.filters th {
  padding: 2px !important;
}

thead tr.filters input {
  width: 100%;
  font-size: 12px;
  padding: 2px;
}

/* #cardsContainer {
  padding-top: 70px;
} */

thead select {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 24px;
  font-size: 12px;
  border: 1px solid lightgray !important;
}

