/* fastecom Dashboard - Contenido principal (layout en layout.css) */
.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.dashboard-greeting {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.dashboard-subtitle {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.trial-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  color: white;
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.trial-alert-btn {
  background: rgba(255, 255, 255, 0.95);
  color: #c2410c;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.2s, transform 0.2s;
}

.trial-alert-btn:hover {
  background: white;
  transform: translateY(-1px);
}

.profile-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.profile-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.profile-card-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}

.btn-edit-name {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-edit-name:hover {
  background: #e2e8f0;
  color: #3b82f6;
}

.profile-label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 4px;
}

.profile-name {
  font-weight: 500;
  color: #1e293b;
  font-size: 1rem;
}

.profile-card-edit .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #fff;
  border: 0;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.stat-card .stat-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.stat-card.stat-blue .stat-icon { background: #3b82f6; }
.stat-card.stat-purple .stat-icon { background: #8b5cf6; }
.stat-card.stat-orange .stat-icon { background: #f97316; }
.stat-card.stat-green .stat-icon { background: #22c55e; }

.stat-card h3 {
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.stat-card .stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
}

.quick-actions-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.action-card {
  background: #fff;
  border: 0;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.action-card .action-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.action-card .action-icon svg {
  width: 22px;
  height: 22px;
  color: white;
}

.action-card.action-blue .action-icon { background: #3b82f6; }
.action-card.action-purple .action-icon { background: #8b5cf6; }
.action-card.action-orange .action-icon { background: #f97316; }
.action-card.action-gray .action-icon { background: #475569; }

.action-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.action-card p {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.action-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: #3b82f6;
}

.action-card:hover .action-arrow {
  color: #2563eb;
}

@media (max-width: 768px) {
  .dashboard-greeting {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }
}
