body { 
  background-color: rgb(236, 241, 242);
}

.form-control:hover {
  border: 2px solid rgb(243, 238, 0);
  box-shadow: 0px 0px 20px -17px;
}

.form-control:active {
  transform: scale(0.95);
}

.form-control:focus {
  border: 2px solid rgb(243, 238, 0);
}

.input-group .choices {
  flex: 1;
}

.input-group .btn {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}


.btn {
  padding: 10px 15px;
  border: 0.5px solid rgb(70, 69, 69);
  border-radius: 15px;
  color: #212121;
  z-index: 1;
  background: #e8e8e8;
  position: relative;
  font-size: 15px;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  transition: all 250ms;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 15px;
  z-index: -1;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  transition: all 250ms
}

.btn:hover::before {
  width: 100%;
}

/* Contenedor con bordes suaves */
.table-responsive {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.card {
  border: none;
  border-radius: 15px;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  background: #fff;
  color: black;
  padding: 0.1px;
}

.card-header {
  background: linear-gradient(90deg, rgb(255, 196, 0) 0%, rgb(255, 238, 0) 29%, rgba(255, 235, 54, 1) 53%, rgb(255, 238, 6) 84%, rgb(255, 196, 0)100%);
  border-bottom: none;
  color: black;
  border-radius: 15px 15px 0 0;
  font-weight: 600;
  text-align: center;
  padding: 15px;
}

.card .table thead th {
  background: #f8f9fa !important;
  text-align: center !important;
}

.card .table tbody td.numeric,
.card .table thead th.numeric,
.card .table tbody td[data-type="number"],
.card .table thead th[data-type="number"] {
  text-align: right !important;
  font-family: monospace !important;
}

/* --- Notificaciones --- */
.notification {
  display: flex;
  flex-direction: column;
  isolation: isolate;
  position: relative;
  width: 18rem;
  height: 8rem;
  background: #29292c;
  border-radius: 1rem;
  overflow: hidden;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 16px;
  --gradient: linear-gradient(to bottom, #ffff00, #ffbb00, #ecf976);
  --color: #ffff00
}

.notification:before {
  position: absolute;
  content: "";
  inset: 0.0625rem;
  border-radius: 0.9375rem;
  background: #18181b;
  z-index: 2
}

.notification:after {
  position: absolute;
  content: "";
  width: 0.25rem;
  inset: 0.65rem auto 0.65rem 0.5rem;
  border-radius: 0.125rem;
  background: var(--gradient);
  transition: transform 300ms ease;
  z-index: 4;
}

.notification:hover:after {
  transform: translateX(0.15rem)
}

.notititle {
  color: var(--color);
  padding: 0.65rem 0.25rem 0.4rem 1.25rem;
  font-weight: 500;
  font-size: 1.1rem;
  transition: transform 300ms ease;
  z-index: 5;
}

.notification:hover .notititle {
  transform: translateX(0.15rem)
}

.notibody {
  color: #99999d;
  padding: 0 1.25rem;
  transition: transform 300ms ease;
  z-index: 5;
}

.notification:hover .notibody {
  transform: translateX(0.25rem)
}

.notiglow,
.notiborderglow {
  position: absolute;
  width: 20rem;
  height: 20rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle closest-side at center, white, transparent);
  opacity: 0;
  transition: opacity 300ms ease;
}

.notiglow {
  z-index: 3;
}

.notiborderglow {
  z-index: 1;
}

.notification:hover .notiglow {
  opacity: 0.1
}

.notification:hover .notiborderglow {
  opacity: 0.1
}

.note {
  color: var(--color);
  position: fixed;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.9rem;
  width: 75%;
}

/* --- SIDEBAR --- */
.sidebar {
  width: 80px;
  height: calc(100vh - 56px); /* Resta el alto del navbar */
  position: fixed;
  top: 56px;
  left: 0;
  overflow-x: hidden;
  overflow-y: auto; /* ✅ Scroll vertical habilitado */
  background-color: #212529;
  transition: width 0.3s;
  z-index: 1000;
}

.sidebar.expanded {
  width: 250px;
}

.sidebar .toggle-btn {
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px 15px;
  display: flex;
  justify-content: flex-end;
}

.sidebar .nav-link {
  color: #fff;
  display: flex;
  align-items: center;
  transition: background 0.3s;
  padding: 10px 15px;
}

.sidebar .nav-link:hover {
  background-color: #343a40;
}

.sidebar .nav-link i {
  min-width: 30px;
  text-align: center;
  font-size: 1.2rem;
}

.sidebar .nav-link span {
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}

.sidebar.expanded .nav-link span {
  opacity: 1;
}

.sidebar h6 {
  color: #adb5bd;
  opacity: 0;
  transition: opacity 0.3s;
  padding-left: 15px;
}

.sidebar.expanded h6 {
  opacity: 1;
}

/* Contenido principal */
.content {
  margin-left: 80px;
  padding: 20px;
  transition: margin-left 0.3s;
}

.sidebar.expanded ~ .content {
  margin-left: 250px;
}

/* --- SCROLLBAR personalizado --- */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.5);
}























