/*creaciones mias para mejorar*/
.content-wrapper {
    background-image: url(../img/fondo.png);
}

.login-page {
    background-image: url(../img/inicio.png);
    background-repeat: no-repeat;
  background-position: bottom right;
  background-attachment: fixed;
  background-size: cover;
}

input[data-readonly] {
  pointer-events: none;
  background-color: transparent;
}

textarea {
    font-size: .76rem;
}

.campo {
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    background-color: transparent;
    font-weight: bolder;
    pointer-events: none;
    width: 100%;
}

textarea.campo {
    overflow: hidden; /* Evita barras de desplazamiento */
    resize: none; /* Evita el redimensionamiento manual */
}

.bg-buscador{
  background-color: #d2f7f7 !important;
  font-size: 0.78rem;
}

.bg-buscador a:focus {
  background: #95e6e6 !important;
  color: #353c3c;
}

.panel-sidebar{
  padding: 5px;
  display: block;
}

.panel-sidebar.active{
  background-color: #6f8888
}

.form-control:focus {
    border:2px solid #17a2b8;
}

.btn {
    border-radius: 0.6rem;
}

.table-responsive {
  max-height: 550px;
  overflow-y: auto;
}

.table-responsive thead {
  position: sticky;
  top: 0;
  color: #fff;
  z-index: 1;
}

@media screen and (max-width: 565px) {
  .priority{
    display:none;
  }

}

.badge-precio
{
    position: absolute;
    top: 5%;
    right: -20%;
    background-color: #FF5733;
    color: #FFFFFF;
    border-radius: 5px;
    padding: 1px 6px;
    font-size: 0.65rem;
    transform: translateY(-65%);
}

.migaja {
    font-size: 1.2rem;
}

.highlight {
    background-color: #b2c5f1ba;
    outline: 2px solid #658cfbe8;
}

/*              modificacion miguel            */
.login-card-body, .register-card-body {
    background-color: rgba(0, 20, 81, 1.0);
    border-top: 5; 
    color: #fff; 
    padding: 20px; 
    box-shadow: 0 0 30px #3C69FC;
    border-radius: 15px;
}
[class*=sidebar-dark-] {
    background-color: #00134E;
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #0000FF;
    box-shadow: 0 0 20px #3C69FC;
    color: #fff;
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:focus, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:hover {
    background-color: rgba(255,255,255,.9);
    color: #343a40;
    box-shadow: 0 0 30px #3C69FC;
}
[class*=sidebar-dark-] .sidebar a {
    color: #CCCCFF;
}
.form-control {
    border: 2px solid #CCCCFF;
    border-radius: 0.7rem;
    box-shadow: 0 0 10px #CCCCFF;
}

.card {
    box-shadow: 0 0 20px #82ACD4;
}

body {
    color:#000078;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 400;
}

.pl-1, .px-1 {
    padding-left: 0.25rem!important;
    font-weight: 600;
}

.text-sm .card-title {
    font-size: 1rem;
    font-weight: 600;
}

a {
    color: #0462d1;
}

/* CSS para ocultar los botones de subir y bajar en diferentes navegadores */
input[type="number"].no-spinners {
  -moz-appearance: textfield; /* Firefox */
}

input[type="number"].no-spinners::-webkit-inner-spin-button,
input[type="number"].no-spinners::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0; /* Chrome, Safari, Edge, Opera */
}

/*******************estilo de smile****************/
#viewport {
    width: calc(100% - 30px); /* Restar el margen (20px a cada lado) */
    height: 400px;
    margin: 15px; /* Margen superior, derecho, inferior, e izquierdo */
    position: relative;
    background-color: black;
    border: 1px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box; /* Incluye el padding y el border en el width y height */
}
#legend {
position: absolute;
top: 10px;
left: 10px;
background-color: rgba(0, 0, 0, 0.7);
padding: 10px;
font-size: 12px;
color: yellow;
z-index: 10;
max-width: 280px;
word-wrap: break-word;
border-radius: 5px;
}

.data-row {
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between; /* Alinear etiquetas y valores a los extremos */
  margin-top: 5px; /* Espaciado entre filas */
}

.data-label {
  color: #333;
  width: 50%; /* Opcional: ancho de la etiqueta */
}

.data-value {
  color: #555;
  width: 50%; /* Opcional: ancho del valor */
  text-align: right; /* Alinear el texto del valor a la derecha */
}

/* Menu lateral moderno */
.main-sidebar,
[class*=sidebar-dark-] {
  background: linear-gradient(180deg, #061449 0%, #071f5d 48%, #063b59 100%) !important;
}

.brand-link,
.brand-link[class*=bg-] {
  background: rgba(4, 15, 54, .72) !important;
  border-bottom: 1px solid rgba(112, 214, 255, .18);
  min-height: 48px;
}

.brand-link .brand-image {
  background: rgba(255, 255, 255, .08);
  border-radius: 9px !important;
  padding: 3px;
}

.sidebar .form-inline {
  border-bottom: 1px solid rgba(125, 211, 252, .14);
  margin: 0 8px 10px !important;
  padding: 12px 8px 14px;
}

.sidebar #logos {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .18));
  max-height: 74px;
  object-fit: contain;
}

.nav-sidebar {
  padding: 0 4px;
}

@keyframes menu-submenu-drop {
  from {
    opacity: .65;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes menu-item-enter {
  from {
    opacity: .35;
    transform: translateX(-5px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-sidebar > .nav-item {
  margin-bottom: 3px;
}

.nav-sidebar .nav-link {
  align-items: center;
  border-radius: 8px;
  color: #dbeafe !important;
  display: flex;
  min-height: 38px;
  margin: 2px 6px;
  overflow: hidden;
  padding: .42rem .58rem;
  position: relative;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.nav-sidebar .nav-link::before {
  background: rgba(103, 232, 249, .72);
  border-radius: 0 4px 4px 0;
  bottom: 8px;
  content: "";
  left: 0;
  opacity: 0;
  position: absolute;
  top: 8px;
  transform: scaleY(.35);
  transition: opacity .18s ease, transform .18s ease;
  width: 3px;
}

.nav-sidebar .nav-link p {
  font-weight: 600;
  letter-spacing: 0;
}

.nav-sidebar .nav-link > .nav-icon {
  align-items: center;
  background: rgba(45, 212, 191, .12);
  border: 1px solid rgba(125, 211, 252, .16);
  border-radius: 8px;
  color: #7dd3fc;
  display: inline-flex !important;
  font-size: .85rem;
  height: 28px;
  justify-content: center;
  margin-left: 0;
  margin-right: 9px;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  width: 28px;
}

.nav-sidebar .nav-link:hover {
  background: rgba(14, 165, 233, .14) !important;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, .1);
  color: #ffffff !important;
}

.nav-sidebar .nav-link:hover::before,
.nav-sidebar .nav-link.active::before {
  opacity: 1;
  transform: scaleY(1);
}

.nav-sidebar .nav-link:hover > .nav-icon {
  background: rgba(56, 189, 248, .2);
  color: #ffffff;
  transform: scale(1.06);
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active,
[class*=sidebar-dark-] .nav-sidebar > .nav-item > .nav-link.active {
  background: linear-gradient(135deg, #0f72d8 0%, #12a6c8 58%, #21c7a8 100%) !important;
  box-shadow: 0 10px 22px rgba(18, 166, 200, .28);
  color: #ffffff !important;
}

.nav-sidebar > .nav-item > .nav-link.active > .nav-icon {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .24);
  color: #ffffff;
}

.nav-sidebar .right {
  color: rgba(219, 234, 254, .68);
  font-size: .75rem;
  top: .78rem;
  transform-origin: center;
  transition: color .18s ease, transform .22s ease;
}

.nav-sidebar .menu-open > .nav-link .right {
  color: #ffffff;
  transform: rotate(-90deg);
}

.nav-sidebar .nav-treeview {
  border-left: 1px solid rgba(125, 211, 252, .16);
  margin: 4px 12px 8px 24px;
  padding: 4px 0 4px 8px;
}

.nav-sidebar .menu-open > .nav-treeview {
  animation: menu-submenu-drop .24s ease both;
}

.nav-sidebar .menu-open > .nav-treeview > .nav-item {
  animation: menu-item-enter .22s ease both;
}

.nav-sidebar .menu-open > .nav-treeview > .nav-item:nth-child(2) {
  animation-delay: .025s;
}

.nav-sidebar .menu-open > .nav-treeview > .nav-item:nth-child(3) {
  animation-delay: .05s;
}

.nav-sidebar .menu-open > .nav-treeview > .nav-item:nth-child(4) {
  animation-delay: .075s;
}

.nav-sidebar .menu-open > .nav-treeview > .nav-item:nth-child(5) {
  animation-delay: .1s;
}

.nav-sidebar .menu-open > .nav-treeview > .nav-item:nth-child(n+6) {
  animation-delay: .12s;
}

.nav-sidebar .nav-treeview .nav-link {
  background: transparent !important;
  border-radius: 7px;
  color: #b8c7e4 !important;
  min-height: 31px;
  padding: .34rem .48rem;
}

.nav-sidebar .nav-treeview .nav-link > .nav-icon {
  background: transparent;
  border: 0;
  color: #38bdf8;
  font-size: .55rem;
  height: 18px;
  margin-right: 7px;
  width: 18px;
}

[class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active,
[class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active:focus,
[class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active:hover {
  background: rgba(255, 255, 255, .13) !important;
  box-shadow: none;
  color: #ffffff !important;
}

[class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active > .nav-icon {
  color: #67e8f9;
}

.sidebar .user-panel {
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(125, 211, 252, .14) !important;
  border-radius: 10px;
  gap: 10px;
  margin: 12px 8px 8px;
  padding: 9px 10px !important;
}

.sidebar .sidebar-support .support-icon-wrap {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 42px;
  padding-left: 0;
  width: 42px;
}

.sidebar .support-whatsapp-icon {
  align-items: center;
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(37, 211, 102, .25);
  color: #ffffff;
  display: inline-flex;
  font-size: 1.25rem;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.sidebar .user-panel .info a {
  color: #e0f2fe !important;
  font-weight: 700;
}

.sidebar .sidebar-support .support-info {
  padding-left: 0;
}

@media (prefers-reduced-motion: reduce) {
  .nav-sidebar .nav-link,
  .nav-sidebar .nav-link::before,
  .nav-sidebar .nav-link > .nav-icon,
  .nav-sidebar .right,
  .nav-sidebar .menu-open > .nav-treeview,
  .nav-sidebar .menu-open > .nav-treeview > .nav-item {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
