html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* From here is css owner */

body {
  background-color: #f4f6f9;
}

.sidebar {
  width: 240px;
  height: 100dvh;
  position: fixed;
  background: rgba(28, 28, 28, 1);
  color: white;
}

.sidebar a {
  color: #adb5bd;
  text-decoration: none;
  display: block;
  padding: 10px;
  border-radius: 6px;
}

.sidebar a.active,
.sidebar a:hover {
  background: #1b263b;
  color: white;
}

.main {
  margin-left: 240px;
  
  padding-bottom: 0px;
}

.card {
  border-radius: 12px;
  background-color: rgba(153, 220, 249, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Soporte para Safari */
  border-radius: 10px;
  
}


.stats-card{
  cursor: pointer;
  
}

.stats-card:hover{
  transform: scale(1.05);
  border: 2px solid rgba(35, 220, 36, 1);
}

.stat-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(153, 220, 249, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Soporte para Safari */
  border-radius: 10px;
  
}

.icon-style{
  transition: transform 0.5s ease, color 0.3s ease;
  transform: scale(0.8);
}

/* Hover in the card with the style icon to affecting them and rotate  */
.stats-card:hover .iconStyle {
  transform: scale(1.05) rotate(10deg);
}


.chart-box {
  height: 250px;
  background: #e9ecef;
  border-radius: 10px;
}

/* Lines design cards professionals*/

.card-dark {
  color: white;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 20px;
  box-shadow:
          0 4px 20px rgba(0,0,0,0.4),
          inset 0 1px 0 rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.card-dark:hover {
  transform: translateY(-5px);
  box-shadow:
          0 10px 30px rgba(0,0,0,0.6),
          0 0 0 1px rgba(99,102,241,0.2);
}

/* números grandes */
.card-value {
  font-size: 28px;
  font-weight: bold;
}

/* títulos */
.card-title {
  font-size: 14px;
  color: #94a3b8;
}

/* iconos */
.icon-box {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* colores */
.bg-blue-soft {
  background: rgba(59,130,246,0.15);
  color: #3b82f6;
}

.bg-green-soft {
  background: rgba(16,185,129,0.15);
  color: #10b981;
}

.bg-purple-soft {
  background: rgba(139,92,246,0.15);
  color: #8b5cf6;
}

.bg-orange-soft {
  background: rgba(251,146,60,0.15);
  color: #fb923c;
}

/* Block lines for desgin modals forms dark professional */
.modal-dark {
  padding: 2.5%;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  color: white;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

/* Inputs dark */
.input-dark {
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  border-radius: 10px;
}

.input-dark:focus {
  background-color: rgba(15, 23, 42, 1);
  border-color: #22c55e;
  box-shadow: 0 0 0 0.2rem rgba(34,197,94,0.2);
  color: white;
}

/* Select */
.input-dark option {
  background-color: #0f172a;
}

/* Animación modal */
.modal.fade .modal-dialog {
  transform: scale(0.9);
  transition: all 0.3s ease;
}

.modal.show .modal-dialog {
  transform: scale(1);
}