body {
  font-family: 'Oswald', sans-serif;
  /* background-color: #fffaf3; */
  background-color: #ffffff;
  background-image: url(/assets/medical-pattern-418cdcc84ba7671f13797ce9da9a2d49e850eeb476bc56307b8412e28022d58e.png);
  background-repeat: repeat;
  background-size: 300px; /* ajusta tamaño del patrón */
  color: #4b4b4b;
}

.main-content {
  margin-left: 75px;
  padding: 30px;
  transition: margin-left 0.3s ease;
}

.sidebar:hover ~ .main-content {
  margin-left: 220px;
} 

.card {
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  background-color: #F4F8FB;
  padding: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}


.header-dashboard {
  background: linear-gradient(135deg, #eef2ff, #ffffff);
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  background: #fff;
}

.home-index .dashboard-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.home-index .dashboard-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 80px;
  height: 80px;
  background: rgba(0,0,0,0.03);
  border-radius: 50%;
}

.home-index .dashboard-card:hover {
  transform: translateY(-6px) scale(1.01);
}

.home-index .dashboard-card:hover {
  transform: translateY(-5px);
}

/* colores */
.card-blue { border-left: 5px solid #3b82f6; }
.card-green { border-left: 5px solid #10b981; }
.card-purple { border-left: 5px solid #8b5cf6; }
.card-orange { border-left: 5px solid #f59e0b; }

.home-index .cita-item {
  border: 1px solid #f1f1f1;
  background: #fff;
  transition: all 0.2s ease;
}

.home-index .cita-item:hover {
  background: #f3f6ff;
  border-color: #dbeafe;
  transform: translateX(5px);
}

/* hora más pro */
.home-index .cita-item .badge {
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 10px;
}

.avatar-circle {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  font-size: 14px;
  letter-spacing: 1px;
}

.main-content {
  transition: margin-left 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .main-content {
    padding: 1rem;
  }

  .sidebar:hover ~ .main-content {
    margin-left: 220px;
  } 
}

.appointments-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid #eef2f7;
}

.appointments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.appointments-header h5 {
  margin: 0;
  font-weight: 700;
  color: #111827;
}

.appointments-header small {
  color: #6b7280;
}

.appointments-count {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(79,70,229,0.25);
}

.appointment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  transition: all 0.25s ease;
  border: 1px solid #f3f4f6;
  margin-bottom: 12px;
  background: #fff;
}

.appointment-item:hover {
  transform: translateY(-2px);
  background: #f8fbff;
  border-color: #dbeafe;
  box-shadow: 0 8px 18px rgba(37,99,235,0.08);
}

.appointment-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.appointment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 18px rgba(79,70,229,0.2);
}

.appointment-info h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.appointment-info p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 6px;
}

.appointment-time {
  background: #eef2ff;
  color: #4338ca;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.empty-appointments {
  text-align: center;
  padding: 2rem 1rem;
  color: #9ca3af;
}

.empty-appointments i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

