.crm-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* FONDO */
.fondo-completo {
  position: fixed;
  inset: 0;
  background-image: url('https://auroracpsas.com/wp-content/uploads/2026/03/Fondo-Inicio-1.png');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

/* OVERLAY */
.fondo-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(245,247,250,0.7) 35%,
    rgba(245,247,250,0.3) 65%,
    transparent
  );
  z-index: -1;
}

/* CONTENEDOR */
.crm-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px;
}

/* PANEL */
.crm-panel {
  width: 100%;
  max-width: 500px;
  background: rgba(255,255,255,0.85);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  animation: fadeIn 0.6s ease;
}

/* ANIMACIÓN */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HEADER */
.crm-header {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.crm-logo {
  max-width: 160px;
}

/* GRID */
.crm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* CARDS */
.crm-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  text-decoration: none;
  color: #2c3e50;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  transition: 0.2s;
}

.crm-card:hover {
  transform: translateY(-4px);
}

/* ICONO */
.crm-icon {
  font-size: 24px;
  width: 45px;
  height: 45px;
  background: #eef3f8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TEXTO */
.crm-text span {
  font-size: 10px;
  color: #8a99ab;
}

/* MOBILE */
@media (max-width: 768px) {
  .crm-grid {
    grid-template-columns: 1fr;
  }

  .fondo-overlay {
    background: rgba(245,247,250,0.9);
  }
}