/* === FLIP CARD STYLES === */
.flip-card {
  background-color: transparent;
  width: 220px;
  height: 300px;
  perspective: 1000px;
  margin: 10px auto;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  border-radius: 12px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
  cursor: pointer;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.flip-card-front {
  color: #333;
}

.flip-card-front img.profile {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
  margin-bottom: 15px;
}

.flip-card-back {
  background: #34495e;
  color: white;
  transform: rotateY(180deg);
  font-size: 14px;
  line-height: 1.4;
  padding: 20px;
  box-sizing: border-box;
}

.flip-card-back h3 {
  margin-bottom: 10px;
  font-weight: 600;
}

.flip-card-back p {
  margin: 5px 0;
}

/* === DATATABLES === */
table.dataTable > thead {
  background-color: green;
  color: white;
}

table.dataTable td {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 14px;
}

table.dataTable > thead th {
  padding: 6px;
}

.dataTables_length,
.dataTables_filter {
  margin-left: 10px;
}

table.dataTable tbody tr.selected {
  color: white;
}

.tablas_bajeras > thead {
  background-color: green;
  color: white;
}

div.dataTables_wrapper {
  width: 95%;
  margin: 0 auto;
}

table.table.dataTable > :not(caption) > * > * {
  background-color: #fff;
  color: black;
}

div.dt-buttons {
  float: right;
}

div.dt-buttons > .dt-button {
  font-size: 12px;
  border-radius: 5px;
}

div.dt-buttons > .dt-button1 {
  color: #1f2d3d;
  background: white;
  border-color: #f8f9fa;
  box-shadow: none;
  font-size: 12px;
  font-family: "Helvetica Neue", HelveticaNeue, Verdana, Arial, Helvetica, sans-serif;
}

div.dt-buttons > .dt-button1:hover:not(.disabled) {
  border: none;
}

/* === TABLAS === */
table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border: 1px solid #e9ecef;
  padding: 8px 15px;
  white-space: nowrap;
}

.grises {
  background: #e9ecef;
}

/* === LAYOUT / SCROLL === */
#botonera {
  float: right;
}

.card-body {
  box-shadow: 20px 20px 15px rgba(0, 0, 0, 0.3);
}

.modal-open {
  overflow: scroll;
}

.este {
  height: 850px;
  overflow-y: scroll;
}

.sureste {
  height: 450px;
  overflow-y: scroll;
}

.surest2 {
  height: 250px;
  overflow-y: scroll;
}

.reportes_profile {
  height: 300px;
  overflow-y: scroll;
  align-items: center;
}

.fixTableHead,
.fixTableHead2 {
  overflow-y: auto;
  height: 240px;
}

.fixTableHead {
  height: 510px;
}

.fixTableHead3 {
  height: 310px;
  overflow-y: auto;
}

.fixTableHead5 {
  height: 310px;
}

.fixTableHead thead th,
.fixTableHead2 thead th {
  position: sticky;
  top: 0;
}

/* === INPUTS / FORM === */
.input-group-text {
  background-color: white;
  color: black;
}

.form-control:disabled {
  text-align: center;
}

.center_datapiker {
  background: #fff;
  cursor: pointer;
  border: 1px solid #ccc;
  padding-right: 10px;
  padding-left: 10px;
}

/* === GRÁFICOS / FONDOS === */
#wipDetailChart {
  max-height: 220px;
  width: 100% !important;
}

.background-radial-gradient {
  background-image: url("{% static 'img/logo-solo.jpg' %}");
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.container {
  background-image: url("{{ text.picture.url }}");
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 2rem;
  opacity: 0.98;
}

/* === TABLE 1 (extra) === */
table-1 {
  margin: 15px;
  padding: 15px;
  border-separate: separate;
  width: 500px;
}

tr {
  margin: 5px;
  padding: 5px;
}
