/* =============================================
   DASHBOARD QENTA STYLES
   Extracted from pos/index.html inline <style>
   ============================================= */
.pos-dash-container {
  animation: qd-fadeInUp 0.6s ease;
}

/* Hero Section */
.pos-hero-card {
  background: linear-gradient(135deg, var(--qd-purple), var(--qd-blue));
  border-radius: 20px;
  padding: 1.5rem 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(142, 1, 251, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.pos-hero-bg-icon {
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 10rem;
  opacity: 0.1;
  transform: rotate(-15deg);
  pointer-events: none;
}

.pos-hero-content {
  position: relative;
  z-index: 2;
}

.pos-hero-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  letter-spacing: -0.5px;
}

.pos-hero-subtitle {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 0;
  font-weight: 400;
}

.pos-date-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Main Action Button */
.pos-btn-caja-main {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  color: var(--qd-purple);
  padding: 0.6rem 1.6rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-top: 1.2rem;
  position: relative;
  z-index: 2;
}

.pos-btn-caja-main:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: var(--qd-dark);
}

.pos-btn-caja-main i {
  font-size: 1.3rem;
}

/* Modules Section */
.pos-section-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--qd-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pos-section-title i {
  color: var(--qd-purple);
}

.pos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .pos-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .pos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pos-grid { grid-template-columns: 1fr; }
}

.pos-module-card {
  background: white;
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.pos-module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--qd-purple), var(--qd-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pos-module-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(142, 1, 251, 0.15);
  border-color: rgba(142, 1, 251, 0.1);
}

.pos-module-card:hover::before {
  opacity: 1;
}

.pos-module-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: var(--qd-bg);
  color: var(--qd-dark);
  transition: all 0.3s ease;
}

/* Specific Icon colors */
.pos-module-card:hover .icon-ventas { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.pos-module-card:hover .icon-productos { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.pos-module-card:hover .icon-clientes { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.pos-module-card:hover .icon-ofertas { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.pos-module-card:hover .icon-compras { background: rgba(142, 1, 251, 0.15); color: #8e01fb; }
.pos-module-card:hover .icon-egresos { background: rgba(234, 179, 8, 0.15); color: #eab308; }
.pos-module-card:hover .icon-colaboradores { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.pos-module-card:hover .icon-sucursales { background: rgba(71, 85, 105, 0.15); color: #475569; }

.pos-module-info h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--qd-dark);
  margin: 0 0 0.3rem 0;
}

.pos-module-info p {
  font-size: 0.85rem;
  color: var(--qd-text-muted);
  margin: 0;
}

.pos-footer {
  text-align: center;
  margin-top: 4rem;
  padding-bottom: 2rem;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 992px) {
  .pos-hero-card { flex-direction: column; text-align: center; padding: 2rem; }
  .pos-date-badge { position: relative; top: 0; right: 0; margin-bottom: 1.5rem; display: inline-flex; }
}
