/* Variables CSS */
:root {
  --background-color: #f0f3f5;
  --text-color: #4e5e6a;
  --primary-color: #6690f4;
  --secondary-color: #2e4053;
  --highlight-color: #4a6884;
  --border-color: #e0e0e0;
  --box-shadow-color: rgba(0, 0, 0, 0.1);
  --font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-size: 14px;
  --font-size-small: 0.825rem;
  --font-size-large: 16px;
  --font-size-h4: 18px;
  --font-size-pre: 13px;
  --font-size-blockquote: 100%;
  --border-radius: 5px;
  --transition-duration: 0.3s;
  --btn-border-color: #f2f4f6;
  --btn-background-color: #ffffff;
  --btn-text-color: #595959;
  --btn-hover-background-color: #e6e6e6;
  --btn-hover-border-color: #e6e6e6;
}

/* Global Styles */
html,
body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: var(--font-size);
  -webkit-font-smoothing: antialiased;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

h1,
h2,
h3,
h4 {
  font-weight: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 10px 0;
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-weight: bold;
}

blockquote {
  background: rgba(242, 242, 242, 0.42);
  font-size: var(--font-size-blockquote);
  margin: 0;
  padding: 10px 20px;
  border-left: 5px solid #f1f1f5;
}

pre {
  display: block;
  padding: 9.5px;
  font-size: var(--font-size-pre);
  line-height: 1.42857143;
  color: var(--text-color);
  word-break: break-all;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  border: none;
  margin: 0;
  white-space: normal;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
}

a:active {
  outline: none;
}

p {
  margin-bottom: 0.65rem;
}

small {
  font-size: var(--font-size-small);
}

.btn {
  font-size: 1.1rem;
  font-weight: 400;
  padding: 5px 10px;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: background-color var(--transition-duration),
    border-color var(--transition-duration);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--btn-border-color);
  background-color: var(--btn-background-color);
  color: var(--btn-text-color);
}

.btn:hover,
.btn:focus,
.btn:active {
  background-color: var(--btn-hover-background-color);
  border: 1px solid var(--btn-border-color);
  outline: none !important;
}

.btn .fas {
  margin-right: 10px;
}

/* Login y Register */
.form-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-image: url("/assets/img/sigin-background-image.jpg");
  background-size: cover;
  background-position: center;
}

.form-signin .container {
  width: 100%;
  max-width: 470px;
  margin: 0;
}

.form-signin .card {
  border-radius: 15px;
  padding: 15px 0;
  background-color: #ffffff;
}

.form-signin .custom-input {
  padding: 10px 15px;
  font-size: var(--font-size-large);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background-color: #f7f7f7;
  box-shadow: inset 0 1px 2px var(--box-shadow-color);
  transition: background-color var(--transition-duration) ease,
    box-shadow var(--transition-duration) ease;
}

.form-signin .custom-input:focus {
  background-color: #ffffff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  border-color: #80bdff;
  outline: none;
}

.form-signin .btn-primary {
  background-color: rgb(46, 64, 83);
  border-color: rgb(46, 64, 83);
  padding: 12px 15px;
  color: #fff;
}

.form-signin .btn-primary:hover {
  background-color: #283747;
  border-color: #283747;
}

/* Menú */
.sidebar {
  width: 250px;
  z-index: 1005;
  position: fixed;
  top: 0;
  bottom: 0;
  font-size: var(--font-size-large);
  font-weight: 400;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px var(--box-shadow-color) !important;
  background: var(--secondary-color);
  overflow: auto;
}

.sidebar-brand {
  padding: 12px 20px;
  width: 250px;
  height: 65px;
  position: fixed;
  text-align: center;
  z-index: 999;
  border-bottom: 1px solid #0000000f;
  background: #fff;
}

.brand-logo {
  max-width: 245px;
  max-height: 38px;
}

.brand-logo-mini {
  display: none;
}

.sidebar .close-btn {
  display: none;
}

.sidebar-scroll {
  margin-top: 55px;
  background: var(--secondary-color);
}

.sidebar-menu {
  padding: 27px 0;
  list-style: none;
  margin: 0;
  overflow-y: auto;
}

.sidebar-menu li {
  position: relative;
  margin: 0;
}

.sidebar-menu li a {
  text-decoration: none;
  position: relative;
  display: block;
  padding: 0.8rem 1.1rem;
  margin: 0 10px;
  border-radius: 3px;
  color: #fff;
  z-index: 2;
  align-items: center;
  transition: color 250ms ease-in-out, background-color 250ms ease-in-out;
}

.sidebar-menu li a span {
  margin-left: 10px;
}

.sidebar-menu li a:active,
.sidebar-menu li a:hover,
.sidebar-menu li a:focus {
  color: #f9f9f9;
  background-color: var(--highlight-color);
}

.sidebar-menu li ul {
  list-style: none;
  position: relative;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  z-index: 1;
  transition: max-height 300ms ease;
}

.sidebar-menu li ul li a {
  padding: 0.8rem 1.7rem;
  color: #fff;
}

.sidebar-menu li ul li a i {
  font-size: 10px;
  margin-right: 10px;
}

.sidebar-menu li ul li a:hover {
  color: #fff;
}

.sidebar-menu li.active > a {
  color: #fff !important;
  background-color: var(--primary-color);
}

.sidebar-menu .expand.open ul {
  max-height: 1000px;
}

#sidebar-menu li.expand.open > a::before {
  content: " ";
  border: solid;
  border-width: 0 0.075rem 0.075rem 0;
  display: inline-block;
  padding: 2px;
  position: absolute;
  right: 1.5rem;
  transition: all 0.2s ease-out;
  transform: rotate(-135deg);
  top: 1.4rem;
}

#sidebar-menu li.expand > a::before {
  content: " ";
  border: solid;
  border-width: 0 0.075rem 0.075rem 0;
  display: inline-block;
  padding: 2px;
  transform: rotate(45deg);
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  transition: all 0.2s ease-out;
}

/* Scroll bar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}

::-webkit-scrollbar-thumb {
  background: #8080804d;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #80808066;
}

::-webkit-scrollbar-thumb:active {
  background: #80808066;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 128, 0.3);
}

.sidebar-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 128, 128, 0.4);
}

.sidebar-scroll::-webkit-scrollbar-thumb:active {
  background: rgba(128, 128, 128, 0.4);
}

/* Estructura principal para menú y contenido */
#wrapper {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#page-content-wrapper {
  margin-left: 250px;
  flex-grow: 1;
  position: relative;
  overflow: hidden;
}

#content-container {
  margin-top: 65px;
  display: none;
  padding: 15px !important;
  width: 100%;
  height: calc(100vh - 65px);
  overflow: auto;
}

/* Menú Colapsado */
.sidebar.collapsed {
  width: 80px;
  overflow: auto;
}

.sidebar.collapsed .sidebar-brand {
  width: 80px;
}

.sidebar.collapsed .sidebar-menu li a {
  padding: 0.8rem 0rem;
  position: relative;
}

#page-content-wrapper.expanded {
  margin-left: 80px;
}

.sidebar.collapsed .sidebar-menu li a span {
  display: none;
  padding-left: 35px;
}

.sidebar.collapsed .sidebar-menu li a {
  text-align: center;
  padding: 0.8rem 0.5rem;
}

.sidebar.collapsed .brand-logo {
  display: none;
}

.sidebar.collapsed #sidebar-menu li.expand > a::before {
  display: none;
}

.sidebar.collapsed .brand-logo-mini {
  display: inline-block;
  max-width: 33px;
  height: auto;
}

#menu-toggle {
  cursor: pointer;
}

.sidebar.collapsed .menu-item:hover a .menu-text {
  display: inline-block;
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  color: #f9f9f9;
  background-color: var(--highlight-color);
  padding: 12px 20px;
  font-size: var(--font-size-large);
  font-weight: 400;
  border-radius: 3px;
  box-shadow: 0px 0px 10px var(--box-shadow-color);
  z-index: 10000;
  white-space: nowrap;
}

.sidebar-brand,
.sidebar-menu {
  overflow: visible;
}

.sidebar.collapsed .sidebar-menu li:hover ul {
  display: block;
  position: absolute;
  left: 80px;
  top: 0;
  background-color: var(--highlight-color);
  padding: 10px 0;
  border-radius: 3px;
  z-index: 10000;
  width: 250px;
  height: auto;
}

.sidebar.collapsed .sidebar-menu li ul {
  display: none;
}

.sidebar.collapsed .sidebar-menu li:hover ul li a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: #f9f9f9;
  white-space: nowrap;
}

.sidebar.collapsed .sidebar-menu li ul li a span {
  display: inline-block;
  margin-left: 10px;
  color: #fff;
}

.sidebar.collapsed:hover {
  overflow: visible;
}

/* Topbar */
.navbar-custom {
  width: calc(100% - 250px);
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 250px;
  height: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0 2px 5px var(--box-shadow-color);
  z-index: 1000;
}

.navbar-left {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: #283747;
}

.navbar-right {
  display: flex;
  align-items: center;
}

.nav-item .nav-link {
  text-decoration: none;
  font-size: 15px;
}

.nav-link-options {
  text-decoration: none;
  margin-right: 35px;
  font-size: 20px;
  color: #283747;
}

.nav-link i {
  margin-right: 5px;
}

#page-content-wrapper.expanded .navbar-custom {
  width: calc(100% - 80px);
  left: 80px;
}

.user-image {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

/* User dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: -10px;
  top: 48px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: var(--border-radius);
  padding: 10px;
  max-width: 250px;
  box-shadow: 0 4px 8px var(--box-shadow-color);
  z-index: 1000;
}

.dropdown.active .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: var(--text-color);
  text-decoration: none;
  font-size: var(--font-size);
}

.dropdown-menu a:hover {
  background-color: var(--btn-hover-background-color);
}

.dropdown-menu i {
  margin-right: 10px;
}

/* Preloader */
#pre-loader {
  width: 90px;
  height: 90px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.app-loader .loading {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-sizing: border-box;
  border: solid 2px var(--primary-color);
  border-top-color: #fff;
  animation: spin 1s infinite linear;
  -webkit-animation: spin 1s infinite linear;
}

/*Content Ups*/
.view-ups-content {
  background-color: #ffffff;
  padding: 8px 16px;
  border-radius: 5px;
  box-shadow: 0 2px 5px var(--box-shadow-color);
  margin: 0;
  width: 100%;
  overflow: auto;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 4px;
}

.title {
  color: #444;
  font-size: 1.5rem;
  margin: 0;
  padding: 10px 0;
}

.divider {
  border: none;
  border-top: 1px solid #dddddd;
  margin: 5px 0px;
}
/*table*/
.table-container {
  width: 100%;
  margin-top: 14px;
  overflow: hidden;
}

.table-container table {
  margin: 16px auto 20px auto !important;
  width: 100%;
}

.table-container table thead th {
  background-color: #f2f2f2 !important;
  padding: 15px 20px !important;
  text-align: center !important;
}

.table-container table tbody td {
  text-align: center !important;
  border: none !important;
  vertical-align: middle !important;
  padding: 15px 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

table.dataTable thead > tr > th span.dt-column-order::before,
table.dataTable thead > tr > th span.dt-column-order::after {
  opacity: 0 !important;
}

table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order::before {
  opacity: 1 !important;
  font-size: 16px;
  content: "\2191";
}

table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order::after {
  opacity: 1 !important;
  font-size: 16px;
  content: "\2193";
}

table.dataTable
  thead
  > tr
  > th:hover:not(.dt-ordering-asc):not(.dt-ordering-desc)
  span.dt-column-order::before {
  opacity: 0.3 !important;
  font-size: 16px;
  margin-right: 5px;
  content: "\2191";
}

table.dataTable
  thead
  > tr
  > th:hover:not(.dt-ordering-asc):not(.dt-ordering-desc)
  span.dt-column-order::after {
  opacity: 0.3 !important;
  margin-left: 5px;
  content: "\2193";
}

table.dataTable thead > tr > th:hover {
  outline: none !important;
  box-shadow: none !important;
}

.table-container table.dataTable tr.group td {
  padding: 15px 20px;
  background-color: #f2f2f2;
  color: #444;
  font-weight: bold;
  text-align: left !important;
  border-bottom: 6px solid #ddd;
  box-shadow: none !important;
}

.table-container table.dataTable tr.group td i {
  margin-right: 10px;
  font-size: 16px;
}

.table-container table.dataTable tr.group {
  cursor: pointer;
}

.total-items {
  color: #888;
  font-size: 0.9em;
  font-weight: normal;
  margin-left: 3px;
}

.dt-button.btn-datatables {
  background-image: none !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  padding: 6px 12px !important;
  border-radius: var(--border-radius) !important;
  border: 1px solid var(--btn-border-color) !important;
  background-color: var(--btn-background-color) !important;
  color: var(--btn-text-color) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  margin-right: 5px !important;
  transition: background-color var(--transition-duration),
    border-color var(--transition-duration) !important;
  letter-spacing: 0.02em !important;
}

.dt-button.btn-datatables.no-margin-right {
  margin-right: 0 !important;
}

.dt-button.btn-datatables:hover,
.dt-button.btn-datatables:focus,
.dt-button.btn-datatables:active {
  background-color: var(--btn-hover-background-color) !important;
  border: 1px solid var(--btn-hover-border-color) !important;
  outline: none !important;
}

.dt-button.no-arrow .dt-button-down-arrow {
  display: none !important;
}

.fixed-width-badge {
  display: inline-block;
  padding: 7px 15px;
  width: auto;
  text-align: center;
  border-radius: 5px;
  font-size: 0.85em;
}
.bg-soft-danger {
  background-color: #f8d7da;
  color: rgb(229, 4, 4);
}

.bg-soft-warning {
  background-color: #fff3cd;
  color: #b08504;
}
.bg-soft-success {
  background-color: #d4edda;
  color: green;
}

.bg-light-green {
  color: var(--secondary-color);
}

.bg-light-blue {
  color: var(--secondary-color);
}

.bg-light-red {
  color: #bf0505;
}

.btntable {
  cursor: pointer;
  width: 35px;
  height: 35px;
  background: #fff;
  color: #8b8d8e;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 3px;
  padding: 0;
  border: 1px solid #e2e7f1;
  font-size: 15px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.btntable:hover {
  background-color: #f0f4ff;
  color: #007bff;
  border-color: #cfd8e3;
}
.btn-delete:hover {
  background-color: #ffe6e6;
  color: #ff4d4d;
  border-color: #ffcccc;
}
/*Options Table*/
.dt-search input {
  border-radius: 2px;
  border: 1px solid #e2e7f1;
  box-shadow: none;
  padding: 7px 10px;
  font-weight: normal;
  background: url(../img/search.png) no-repeat 96% 45% #fff;
  width: 200px !important;
  transition: all 0.5s;
  line-height: 1.5;
}
.dt-search input:focus {
  border-color: #ebeff2;
  background-color: #ebeff2;
  box-shadow: none;
}
.dt-search label,
.dt-length label {
  display: none;
}
.dt-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.dt-search input:focus {
  border-color: #ebeff2;
  background-color: #ebeff2;
}
.dt-search input::placeholder {
  font-size: 14px;
  color: #999;
  opacity: 1;
}
.dt-length .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  padding: 20px 7px;
  border-radius: 4px;
  border: 1px solid #e2e7f1;
  box-shadow: none;
  width: auto;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.dt-length
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 10px;
}
.select2-container--default .select2-dropdown {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.select2-container--default
  .select2-results
  > .select2-results__options
  > .select2-results__option {
  background-color: var(--btn-background-color) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  text-align: center;
}
.select2-container--default
  .select2-results
  > .select2-results__options
  > .select2-results__option--highlighted {
  background-color: var(--secondary-color) !important;
  color: white;
}

.dt-info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 20px;
  color: #999 !important;
}
.dt-paging .pagination .dt-paging-button button {
  font-size: 15px;
  border: 1px solid #ddd;
  padding: 7px 13px;
  margin: 0 1px;
  border-radius: 4px;
}
.page-link {
  color: #666;
}
.active > .page-link,
.page-link.active {
  background-color: var(--secondary-color) !important;
}
.dt-paging .pagination .dt-paging-button button:focus,
.dt-paging .pagination .dt-paging-button button:active,
.page-link:focus,
.page-link:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Estilos unificados para las flechas de responsive */
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr:not(.group)
  > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr:not(.group)
  > th.dtr-control:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.dtr-expanded:not(.group)
  > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.dtr-expanded:not(.group)
  > th.dtr-control:before {
  color: white;
  border: 0.15em solid white;
  border-radius: 1em;
  box-shadow: 0 0 0.2em #444;
  box-sizing: content-box;
  text-align: center;
  text-indent: 0 !important;
  font-family: "Courier New", Courier, monospace;
  line-height: 1em;
  top: 50%;
  left: 5px;
  height: 1em;
  width: 1em;
}

table.dataTable.dtr-inline.collapsed
  > tbody
  > tr:not(.group)
  > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr:not(.group)
  > th.dtr-control:before {
  content: "+";
  background-color: #31b131;
}

table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.dtr-expanded:not(.group)
  > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.dtr-expanded:not(.group)
  > th.dtr-control:before {
  content: "-";
  background-color: #d33333;
}

/********************** Responsive ***************************/
@media (max-width: 1040px) {
  .sidebar {
    position: fixed;
    width: 80px;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-x: hidden;
  }

  .sidebar.active {
    width: 250px;
  }

  .sidebar-brand {
    width: 80px;
    position: relative;
    z-index: 1004;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .sidebar.active .sidebar-brand {
    width: 250px;
  }

  .sidebar.active .sidebar-menu li a .menu-text {
    display: inline-block;
  }

  .brand-logo,
  .sidebar .sidebar-menu li a .menu-text,
  .sidebar li.expand.open > ul,
  .sidebar:not(.active) #sidebar-menu li.expand > a::before {
    display: none;
  }

  .sidebar.active li.expand.open > ul,
  .sidebar.active #sidebar-menu li.expand > a::before {
    display: block;
  }

  .brand-logo-mini {
    display: inline-block;
    max-width: 33px;
    height: auto;
  }

  .sidebar.active .brand-logo {
    display: block;
    max-width: 175px;
    max-height: 36px;
    margin-left: 50%;
  }

  .sidebar.active .brand-logo-mini {
    display: none;
  }

  .sidebar-scroll {
    margin-top: 2px;
  }

  .sidebar .sidebar-menu li a {
    padding: 0.8rem 0.5rem;
    text-align: center;
  }

  .sidebar.active .sidebar-menu li a {
    padding: 0.8rem 1.1rem;
    text-align: left;
  }

  .sidebar.active .close-btn {
    font-size: 20px;
    cursor: pointer;
    color: var(--secondary-color);
    margin-left: auto;
    display: block;
  }

  .navbar-custom {
    left: 80px;
    width: calc(100% - 80px);
  }

  #page-content-wrapper {
    margin-left: 80px;
    width: calc(100% - 80px);
  }
  #content-container {
    padding: 12px !important;
  }
  .dropdown-menu {
    position: fixed;
    top: 66px;
    width: 100%;
  }

  .dropdown-menu a {
    padding: 14px 18px;
    font-size: 15px;
  }
  .view-ups-content {
    padding: 7px 10px;
  }
  .header-container {
    padding-bottom: 2px;
  }
  .title {
    font-size: 1.4rem;
  }
  .table-container {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: 0;
    height: 100vh;
    z-index: 1003;
  }

  .sidebar.active {
    width: 250px;
  }

  .sidebar-brand {
    width: 250px;
  }

  .brand-logo {
    display: block;
    max-width: 180px;
    margin-left: 50%;
  }

  .navbar-custom {
    width: 100%;
    left: 0;
  }

  #page-content-wrapper {
    margin-left: 0;
    width: 100%;
  }

  #content-container {
    width: 100%;
    padding: 10px !important;
  }

  .dropdown-menu a {
    padding: 15px 20px;
    font-size: 16px;
  }

  .nav-link-options {
    margin-right: 25px;
  }

  #wrapper {
    flex-direction: column;
  }
  .header-container {
    padding-bottom: 2px;
  }
  .title {
    font-size: 1.3rem;
  }
  .top.d-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .left-buttons,
  .right-buttons {
    width: 100% !important;
    margin-bottom: 10px !important;
    display: flex !important;
    justify-content: flex-start !important;
  }

  .right-buttons .btn-datatables {
    flex: 0 0 auto !important;
    margin-right: 10px !important;
  }

  .dt-search {
    flex: 1 1 auto !important;
    width: auto !important;
  }

  .dt-search input {
    width: 97% !important;
  }

  .table-container table {
    margin: 8px auto 16px auto !important;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    max-width: 150px;
    max-height: 35px;
  }
}

/********************** Animaciones ***************************/
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
