/* ═══════════════════════════════════════════════
   DELIRIO GRÁFICO CRM v0.03 — Mobile First
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Paleta oficial ── */
:root {
  --pearl:      #fefffa;
  --pearl-2:    #f0f2ec;
  --pearl-3:    #e2e5db;
  --c1:         #3da2db;
  --c2:         #0072b3;
  --c3:         #006096;
  --c4:         #004c77;
  --c5:         #002e4b;
  --bg:         var(--pearl);
  --surface:    #ffffff;
  --surface-2:  #f4f6f0;
  --border:     #dde1d8;
  --text:       var(--c5);
  --text-2:     #3a5068;
  --muted:      #7a8f9e;
  --green:      #1a9e6e;
  --yellow:     #c8860a;
  --red:        #c0392b;
  --r:          12px;
  --r-lg:       18px;
  --sh-sm:      0 1px 4px rgba(0,46,75,.07);
  --sh:         0 4px 20px rgba(0,46,75,.11);
  --sh-lg:      0 8px 40px rgba(0,46,75,.17);
  --topbar-h:   60px;
  --tabs-h:     48px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Ocultar admin bar WP ── */
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

.dg-crm {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Ciervo decorativo PNG ── */
.dg-deer-corner {
  position: fixed;
  top: 0; right: 0;
  width: 220px; height: 220px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.dg-deer-corner img {
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top right;
  opacity: 0.08;
  mix-blend-mode: multiply;
}

/* ══════════════════════════════════════
   TOP BAR
══════════════════════════════════════ */
.dg-topbar {
  position: sticky; top: 0; z-index: 300;
  height: var(--topbar-h);
  background: var(--c5);
  display: flex; align-items: center;
  padding: 0 16px;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(0,46,75,.3);
}

/* Logo SVG inline */
.dg-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.dg-logo-img {
  height: 30px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
}
.dg-logo-text { display: flex; flex-direction: column; line-height: 1; }
.dg-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--pearl);
}
.dg-logo-sub {
  font-size: 8px; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(254,255,250,.45);
  margin-top: 1px;
}

.dg-topbar-right {
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
}

.dg-toggle-modo {
  display: flex; align-items: center; gap: 6px;
  background: rgba(254,255,250,.1);
  border: 1px solid rgba(254,255,250,.2);
  color: rgba(254,255,250,.9);
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500;
  padding: 6px 12px; border-radius: 100px; cursor: pointer;
  transition: all .2s; white-space: nowrap;
  min-height: 34px;
}
.dg-toggle-modo:hover, .dg-toggle-modo.mis-tareas {
  background: rgba(61,162,219,.22);
  border-color: var(--c1); color: var(--c1);
}
.dg-toggle-modo svg { flex-shrink: 0; }

.dg-user-name {
  font-size: 12px; color: rgba(254,255,250,.6);
  max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dg-logout {
  display: flex; align-items: center;
  color: rgba(254,255,250,.5); text-decoration: none;
  transition: color .2s; min-width: 22px;
}
.dg-logout:hover { color: var(--pearl); }

/* ══════════════════════════════════════
   TABS — scroll horizontal, sin corte
══════════════════════════════════════ */
.dg-tabs {
  position: sticky; top: var(--topbar-h); z-index: 200;
  height: var(--tabs-h);
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 4px;
  box-shadow: var(--sh-sm);
}
.dg-tabs::-webkit-scrollbar { display: none; }

.dg-tab {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none;
  color: var(--muted);
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500;
  padding: 0 14px; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all .2s; white-space: nowrap; flex-shrink: 0;
  min-height: var(--tabs-h);
}
.dg-tab svg { flex-shrink: 0; }
.dg-tab:hover { color: var(--c2); }
.dg-tab.active { color: var(--c2); border-bottom-color: var(--c2); font-weight: 600; }

.dg-badge {
  background: var(--red); color: white;
  font-size: 9px; font-weight: 700;
  padding: 2px 5px; border-radius: 100px;
  min-width: 16px; text-align: center;
}

/* ══════════════════════════════════════
   PANELS
══════════════════════════════════════ */
.dg-panel { display: none; padding: 16px; position: relative; z-index: 1; }
.dg-panel.active { display: block; animation: fadeUp .2s; }
@keyframes fadeUp { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }

/* ══════════════════════════════════════
   TOOLBAR & FILTROS
══════════════════════════════════════ */
.dg-toolbar {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 16px;
  position: relative;
  z-index: 10;
}
.dg-filters {
  display: flex; flex-direction: column; gap: 8px;
}

/* ══════════════════════════════════════
   FORM ELEMENTS — 16px evita zoom en iOS
══════════════════════════════════════ */
.dg-select, .dg-input, .dg-textarea {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px; /* evita zoom iOS */
  padding: 12px 14px;
  border-radius: var(--r);
  outline: none;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
  min-height: 50px;
}
.dg-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a8f9e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.dg-select:focus, .dg-input:focus, .dg-textarea:focus {
  border-color: var(--c2);
  box-shadow: 0 0 0 3px rgba(0,114,179,.1);
}
.dg-textarea { min-height: 90px; resize: vertical; font-size: 15px; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.dg-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--c2), var(--c4));
  color: white; border: none;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  padding: 12px 20px; border-radius: var(--r);
  cursor: pointer; transition: all .2s;
  box-shadow: 0 2px 10px rgba(0,114,179,.28);
  min-height: 48px; width: 100%;
}
.dg-btn-primary:hover { opacity: .9; transform: translateY(-1px); }

.dg-btn-sec {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--surface); color: var(--text-2);
  border: 1.5px solid var(--border);
  font-family: 'Inter', sans-serif; font-size: 14px;
  padding: 11px 18px; border-radius: var(--r);
  cursor: pointer; transition: all .2s;
  min-height: 48px;
}
.dg-btn-sec:hover { border-color: var(--c2); color: var(--c2); }

.dg-btn-sm {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; padding: 7px 12px; border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--surface); color: var(--muted);
  cursor: pointer; transition: all .15s;
  font-family: 'Inter', sans-serif;
  height: 32px; box-sizing: border-box;
  white-space: nowrap;
}
.dg-btn-sm:hover { color: var(--c2); border-color: var(--c2); }
.dg-btn-danger { border-color: var(--red); color: var(--red); }
.dg-btn-danger:hover { background: #fdf0ef; border-color: var(--red); }

/* ══════════════════════════════════════
   FAB — cajón lateral deslizable
══════════════════════════════════════ */

/* Contenedor pegado al borde derecho, centrado verticalmente */
.dg-fab-wrap {
  position: fixed;
  right: 0;
  bottom: 100px;
  z-index: 500;
  display: flex;
  align-items: center;
  /* Empieza recogido: solo la pestaña visible */
  transform: translateX(calc(100% - 28px));
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}

/* Desplegado */
.dg-fab-wrap.open {
  transform: translateX(0);
}

/* Pestaña de agarre — siempre visible */
.dg-fab-tab {
  width: 28px;
  height: 56px;
  background: var(--c2);
  border: none;
  border-radius: 10px 0 0 10px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: -3px 2px 10px rgba(0,114,179,.3);
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.dg-fab-tab:hover { background: var(--c3); }
.dg-fab-tab svg { transition: transform .3s; }
.dg-fab-wrap.open .dg-fab-tab svg { transform: rotate(180deg); }

/* Botón principal — el bloque azul con ícono y texto */
.dg-fab {
  background: var(--c2);
  border: none;
  border-radius: 0;
  color: white;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 18px;
  min-width: 80px;
  min-height: 80px;
  box-shadow: -4px 0 16px rgba(0,114,179,.2);
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.dg-fab:hover { background: var(--c3); }
.dg-fab:active { background: var(--c4); }
.dg-fab-campana { background: var(--c3); border-left: 1px solid rgba(255,255,255,.2); }
.dg-fab-campana:hover { background: var(--c4); }

.dg-fab-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  letter-spacing: .03em;
}


/* ══════════════════════════════════════
   TAREAS
══════════════════════════════════════ */
.dg-tareas-list { display: flex; flex-direction: column; gap: 8px; }

.dg-tarea-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--c2);
  border-radius: var(--r);
  padding: 14px 14px 12px;
  cursor: pointer; transition: all .18s;
  box-shadow: var(--sh-sm);
  display: flex; gap: 12px; align-items: flex-start;
}
.dg-tarea-card:active { background: var(--pearl-2); }

.dg-tarea-icon {
  flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
}
.dg-tarea-info { flex: 1; min-width: 0; }
.dg-tarea-titulo {
  font-size: 14px; font-weight: 600; color: var(--text);
  margin-bottom: 6px; line-height: 1.3;
}
.dg-tarea-meta { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.dg-chip {
  font-size: 10px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 100px;
  line-height: 1.4;
}
.dg-tarea-asignado { font-size: 11px; color: var(--muted); }
.dg-tarea-fecha {
  font-size: 11px; color: var(--muted);
  display: flex; align-items: center; gap: 4px; margin-top: 4px;
}

/* ══════════════════════════════════════
   CALENDARIO
══════════════════════════════════════ */
.dg-cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; gap: 8px;
}
.dg-cal-titulo {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 700; color: var(--c5);
  text-transform: capitalize; text-align: center; flex: 1;
}
.dg-cal-filtro { margin-bottom: 8px; display:flex; gap:8px; flex-wrap:wrap; }
.dg-cal-filtro .dg-select { flex:1; min-width:160px; max-width:260px; }
.dg-cal-nav {
  background: var(--surface); border: 1.5px solid var(--border);
  color: var(--text-2); border-radius: 8px;
  width: 38px; height: 38px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .2s;
  font-size: 28px; line-height: 1; font-weight: 300;
}
.dg-cal-nav:hover { border-color: var(--c2); color: var(--c2); }

.dg-calendario {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm);
}
.dg-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); }
.dg-cal-day-header {
  padding: 10px 4px; text-align: center;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c2); background: rgba(61,162,219,.05);
  border-bottom: 1.5px solid var(--border);
}
.dg-cal-day {
  min-height: 72px; padding: 6px 4px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.dg-cal-day:nth-child(7n) { border-right: none; }
.dg-cal-day.otro-mes { background: rgba(0,0,0,.015); }
.dg-cal-day.otro-mes .dg-cal-num { opacity: .3; }
.dg-cal-day.hoy { background: rgba(61,162,219,.05); }
.dg-cal-day.hoy .dg-cal-num {
  background: var(--c2); color: white;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.dg-cal-num { font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.dg-cal-evento {
  font-size: 9px; padding: 2px 4px; border-radius: 3px;
  margin-bottom: 2px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
  cursor: pointer; color: white; font-weight: 600;
  display: flex; align-items: center; gap: 2px;
}
.dg-cal-evento svg { flex-shrink: 0; }

/* Trazabilidad de tiempo */
.dg-tiempo-ejecucion {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 100px; padding: 3px 8px; margin-top: 4px;
}

/* ══════════════════════════════════════
   REUNIONES
══════════════════════════════════════ */
.dg-reuniones-list { display: flex; flex-direction: column; gap: 10px; }
.dg-reunion-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--c1);
  border-radius: var(--r); padding: 16px;
  box-shadow: var(--sh-sm);
}
.dg-reunion-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 10px; gap: 8px;
}
.dg-reunion-titulo {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700;
}
.dg-reunion-fecha { font-size: 11px; color: var(--muted); white-space: nowrap; }
.dg-reunion-empresa {
  font-size: 10px; color: var(--c2); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px;
}
.dg-reunion-seccion { margin-bottom: 8px; }
.dg-reunion-label {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2px; font-weight: 700;
}
.dg-reunion-texto { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.dg-reunion-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c2); text-decoration: none; font-size: 13px; font-weight: 500;
  border: 1.5px solid var(--c2); border-radius: 8px;
  padding: 7px 12px; margin-top: 6px;
  transition: all .2s;
}
.dg-reunion-link:hover { background: rgba(0,114,179,.06); }

/* ══════════════════════════════════════
   CHAT
══════════════════════════════════════ */
.dg-chat-layout {
  display: flex; flex-direction: column;
  height: calc(100dvh - var(--topbar-h) - var(--tabs-h) - 32px);
  min-height: 400px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh);
}

/* En móvil: sidebar oculto por defecto, se muestra la lista de convs */
.dg-chat-sidebar {
  border-bottom: 1.5px solid var(--border);
  background: var(--surface-2);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 100%;
}
.dg-chat-sidebar.hidden { display: none; }
.dg-chat-sidebar-title {
  padding: 12px 16px;
  font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.dg-conv-list { overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; padding: 4px 0; gap: 0; flex: 1; min-height: 0; }
.dg-conv-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: var(--r); cursor: pointer;
  transition: background .15s; flex-shrink: 0; min-width: 70px;
  border: 1.5px solid transparent; position: relative;
}
.dg-conv-item:hover { background: rgba(0,114,179,.05); }
.dg-conv-item.active { background: rgba(0,114,179,.08); border-color: var(--c2); }
.dg-conv-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.dg-conv-nombre {
  font-size: 11px; font-weight: 600; text-align: center;
  max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dg-conv-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--red); color: white;
  font-size: 9px; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 100px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}

.dg-chat-main { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
.dg-chat-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--muted); padding: 20px;
}
.dg-chat-empty svg { opacity: .3; }
.dg-chat-header {
  padding: 12px 16px; border-bottom: 1.5px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
}
.dg-chat-header-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700;
}
.dg-chat-header-nombre { font-size: 14px; font-weight: 700; }
.dg-chat-header-tipo { font-size: 11px; color: var(--muted); }

/* Botón volver en móvil */
.dg-chat-back {
  display: none; align-items: center; justify-content: center;
  width: 36px !important; height: 36px !important; min-width: 36px !important; max-width: 36px !important;
  border-radius: 8px; flex-shrink: 0;
  border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text-2);
  cursor: pointer; transition: background .15s; padding: 0;
}
.dg-chat-back:hover { background: var(--border); }

.dg-mensajes {
  flex: 1; overflow-y: auto; padding: 14px 12px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--bg);
  -webkit-overflow-scrolling: touch;
}

.dg-mensaje { max-width: 80%; }
.dg-mensaje.propio { align-self: flex-end; }
.dg-mensaje.otro { align-self: flex-start; }
.dg-msg-nombre { font-size: 10px; color: var(--muted); margin-bottom: 3px; font-weight: 600; }
.dg-msg-bubble {
  padding: 10px 14px; border-radius: 16px;
  font-size: 14px; line-height: 1.5; word-break: break-word;
}
.dg-mensaje.propio .dg-msg-bubble {
  background: linear-gradient(135deg, var(--c2), var(--c4));
  color: white; border-radius: 16px 16px 4px 16px;
  box-shadow: 0 2px 8px rgba(0,114,179,.22);
}
.dg-mensaje.otro .dg-msg-bubble {
  background: var(--surface); color: var(--text);
  border: 1.5px solid var(--border); border-radius: 16px 16px 16px 4px;
}
.dg-msg-hora { font-size: 10px; color: var(--muted); margin-top: 3px; text-align: right; }
.dg-msg-audio {
  width: 100%; min-width: 180px; max-width: 240px;
  border-radius: 8px; margin-top: 4px;
  accent-color: white;
}
.dg-msg-imagen {
  max-width: 200px; border-radius: 10px;
  display: block; margin-top: 4px;
}
.dg-msg-archivo {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.18); border-radius: 8px;
  padding: 8px 10px; margin-top: 4px; text-decoration: none;
  font-size: 13px; color: inherit;
}

/* Input área chat */
.dg-chat-input-area {
  padding: 10px 12px;
  border-top: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  flex-wrap: nowrap;
  position: relative;
}
.dg-chat-input {
  flex: 1;
  min-width: 0;
  background: var(--surface-2);
  border: 1.5px solid var(--border); color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 16px;
  padding: 10px 14px; border-radius: 100px; outline: none;
  transition: border-color .2s;
  height: 44px;
}
.dg-chat-input:focus { border-color: var(--c2); }

/* Botón + y botones de acción */
.dg-chat-action {
  width: 44px !important; height: 44px !important; min-width: 44px !important; max-width: 44px !important;
  border-radius: 50% !important;
  border: 1.5px solid var(--border) !important;
  cursor: pointer;
  display: flex !important; align-items: center !important; justify-content: center !important;
  flex-shrink: 0;
  background: var(--surface-2) !important;
  color: var(--text-2) !important;
  -webkit-tap-highlight-color: transparent;
  transition: all .2s;
  position: relative;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.dg-chat-action svg { width: 18px !important; height: 18px !important; min-width: 18px !important; display: block !important; }
.dg-chat-action:hover, .dg-chat-action:active { border-color: var(--c2) !important; color: var(--c2) !important; background: rgba(0,114,179,.07) !important; }
.dg-chat-action.recording { border-color: var(--red) !important; color: var(--red) !important; animation: pulse-rec 1s infinite; }
@keyframes pulse-rec { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }

/* Botón enviar */
.dg-chat-send {
  background: linear-gradient(135deg, var(--c2), var(--c4)) !important;
  border-color: transparent !important; color: white !important;
}
.dg-chat-send:hover { opacity: .9; }
.dg-chat-send svg { stroke: white !important; }

/* Botón + expandible */
.dg-chat-plus { position: relative; }
.dg-chat-plus-icon { transition: transform .2s; }
.dg-chat-plus.open .dg-chat-plus-icon { transform: rotate(45deg); }

/* Menú desplegable del + */
.dg-chat-plus-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: all .2s;
  z-index: 10;
}
.dg-chat-plus-menu.open {
  opacity: 1; pointer-events: all;
  transform: translateY(0);
}
.dg-chat-plus-menu .dg-chat-action {
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  background: var(--surface);
}

.dg-rec-indicator {
  text-align: center; font-size: 11px; color: var(--red);
  padding: 4px 12px; background: rgba(192,57,43,.08);
  border-top: 1px solid rgba(192,57,43,.15);
  display: none;
}
.dg-rec-indicator.active { display: block; }

/* ══════════════════════════════════════
   RENDIMIENTO
══════════════════════════════════════ */
.dg-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 20px;
}
.dg-stat-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 16px 14px; box-shadow: var(--sh-sm);
}
.dg-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px; font-weight: 800; margin-bottom: 3px; line-height: 1;
}
.dg-stat-label { font-size: 11px; color: var(--muted); }
.dg-equipo-list { display: flex; flex-direction: column; gap: 8px; }
.dg-equipo-item {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 14px; box-shadow: var(--sh-sm);
}
.dg-equipo-nombre { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.dg-equipo-stats { display: flex; gap: 14px; }
.dg-equipo-stat { text-align: center; }
.dg-equipo-stat-val { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; }
.dg-equipo-stat-lab { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ══════════════════════════════════════
   MODAL — optimizado para móvil
══════════════════════════════════════ */
.dg-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,46,75,.45);
  z-index: 1000;
  display: flex; align-items: flex-end; /* slide up desde abajo en móvil */
  padding: 0;
  backdrop-filter: blur(4px);
}
.dg-modal {
  background: var(--surface);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  width: 100%; max-height: 92dvh;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  box-shadow: var(--sh-lg);
  animation: slideUp .28s cubic-bezier(.32,1.2,.6,1);
  /* safe area */
  padding-bottom: env(safe-area-inset-bottom);
}
@keyframes slideUp { from{transform:translateY(100%)} to{transform:translateY(0)} }

/* Handle bar del modal */
.dg-modal::before {
  content: '';
  display: block; width: 40px; height: 4px;
  background: var(--pearl-3); border-radius: 2px;
  margin: 12px auto 4px;
}

.dg-modal-header {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 20px 14px; border-bottom: 1.5px solid var(--border);
  position: sticky; top: 0; z-index: 10;
  background: var(--surface);
}
.dg-modal-header-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,114,179,.1); color: var(--c2);
}
.dg-modal-header-text { flex: 1; min-width: 0; }
.dg-modal-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 700; line-height: 1.2; margin-bottom: 2px;
}
.dg-modal-header p { font-size: 12px; color: var(--muted); }
.dg-modal-close {
  background: #f1f5f9 !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #374151 !important;
  width: 32px !important; height: 32px !important; border-radius: 8px !important;
  cursor: pointer !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  flex-shrink: 0 !important; transition: background .15s, color .15s;
  margin-left: auto !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.dg-modal-close:hover { background: #e2e8f0 !important; color: #111827 !important; }
.dg-modal-close svg { width: 16px !important; height: 16px !important; display: block !important; }

.dg-modal-body {
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.dg-modal-footer {
  padding: 14px 20px;
  border-top: 1.5px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface-2);
}

.dg-field { display: flex; flex-direction: column; gap: 6px; }
.dg-field label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}

/* ══════════════════════════════════════
   DETALLE TAREA
══════════════════════════════════════ */
.dg-detalle-header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.dg-detalle-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.dg-detalle-titulo {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.3;
}
.dg-detalle-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.dg-detalle-seccion { margin-bottom: 14px; }
.dg-detalle-label {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px; font-weight: 700;
}
.dg-detalle-texto { font-size: 13px; line-height: 1.6; color: var(--text-2); }
.dg-archivos-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.dg-archivo-item-wrap {
  display: flex; align-items: center; gap: 4px;
  transition: opacity .2s;
}
.dg-archivo-item {
  background: var(--surface-2); border: 1.5px solid var(--border);
  border-radius: 8px; padding: 8px 12px; font-size: 12px;
  display: flex; align-items: center; gap: 6px;
  text-decoration: none; color: var(--text); transition: border-color .2s;
}
.dg-archivo-item:hover { border-color: var(--c2); }
.dg-archivo-delete {
  width: 26px; height: 26px; min-width: 26px;
  border-radius: 6px; border: 1.5px solid transparent;
  background: transparent; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s; padding: 0; flex-shrink: 0;
}
.dg-archivo-delete:hover { background: #fdf0ef; border-color: var(--red); color: var(--red); }
.dg-subir-archivo { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.dg-estado-select { font-size: 15px; padding: 10px 12px; min-height: 44px; }

/* ══════════════════════════════════════
   BIENVENIDA CLIENTE
══════════════════════════════════════ */
.dg-cliente-bienvenida {
  background: linear-gradient(135deg, var(--c5), var(--c4));
  padding: 20px 16px 16px; color: white; position: relative; overflow: hidden;
}
.dg-cliente-info { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dg-cliente-info h2 { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 700; color: white; }
.dg-cliente-info p { font-size: 12px; color: rgba(255,255,255,.6); }
.dg-cliente-logo { height: 44px; width: auto; border-radius: 8px; }
.dg-etapas-progreso { display: flex; gap: 5px; flex-wrap: wrap; }
.dg-etapa-prog {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px; padding: 4px 10px; font-size: 10px; color: rgba(255,255,255,.65);
}
.dg-etapa-prog.activa { background: rgba(255,255,255,.2); color: white; }
.dg-etapa-prog.completa { background: rgba(26,158,110,.3); color: #7dffd0; }

/* ══════════════════════════════════════
   MISC
══════════════════════════════════════ */
.dg-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--text);
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.dg-loading {
  padding: 40px 20px; text-align: center; color: var(--muted); font-size: 13px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.dg-loading::after {
  content: ''; width: 18px; height: 18px; flex-shrink: 0;
  border: 2px solid var(--border); border-top-color: var(--c2);
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to{transform:rotate(360deg)} }
.dg-empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.dg-empty svg { opacity: .4; margin-bottom: 10px; }
.dg-login-msg, .dg-no-acceso { padding: 48px 20px; text-align: center; color: var(--muted); }
.dg-login-msg a { color: var(--c2); }

#dg-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--c5); color: white;
  padding: 11px 22px; border-radius: 100px;
  font-size: 13px; font-family: 'Inter', sans-serif; font-weight: 500;
  z-index: 9999; transition: opacity .3s; box-shadow: var(--sh);
  white-space: nowrap; pointer-events: none;
}

/* ══════════════════════════════════════
   DESKTOP — override para pantallas grandes
══════════════════════════════════════ */
@media (min-width: 768px) {
  .dg-panel { padding: 24px; }
  .dg-topbar { padding: 0 24px; height: 64px; --topbar-h: 64px; }

  .dg-toolbar { flex-direction: row; align-items: center; }
  .dg-filters { flex-direction: row; }

  .dg-btn-primary { width: auto; }
  .dg-modal-overlay { align-items: center; padding: 20px; }
  .dg-modal { border-radius: var(--r-lg); max-width: 560px; max-height: 90vh; }
  .dg-modal::before { display: none; }
  @keyframes slideUp { from{opacity:0;transform:scale(.95)} to{opacity:1;transform:scale(1)} }
  .dg-modal-footer { flex-direction: row; justify-content: flex-end; }

  .dg-chat-layout {
    flex-direction: row;
    height: calc(100vh - 140px);
  }
  .dg-chat-sidebar {
    width: 240px; flex-shrink: 0;
    border-bottom: none; border-right: 1.5px solid var(--border);
    height: 100%; overflow: hidden;
  }
  .dg-conv-list { flex-direction: column; overflow-x: hidden; overflow-y: auto; flex: 1; min-height: 0; }
  .dg-conv-item {
    flex-direction: row; min-width: auto; padding: 11px 14px;
    border: none; border-bottom: 1px solid var(--border); border-radius: 0;
  }
  .dg-conv-item.active { border-left: 3px solid var(--c2); background: rgba(0,114,179,.07); }
  .dg-conv-avatar { width: 36px; height: 36px; font-size: 12px; }
  .dg-conv-nombre { font-size: 13px; text-align: left; max-width: 120px; }
  .dg-conv-badge { position: static; margin-left: auto; }

  .dg-stats-grid { grid-template-columns: repeat(5, 1fr); }
  .dg-cal-day { min-height: 90px; }

  .dg-fab-wrap { bottom: 120px; }
  .dg-fab { padding: 16px 22px; min-width: 90px; }

  .dg-tarea-card { padding: 14px 18px; }
}

/* Botón copiar prompt IA */
.dg-btn-copiar-prompt {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 34px; border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface-2); color: var(--text-2);
  cursor: pointer; transition: all .2s; flex-shrink: 0;
  margin-right: 6px;
}
.dg-btn-copiar-prompt svg { width: 18px; height: 18px; }
.dg-btn-copiar-prompt:hover {
  border-color: var(--c2); color: var(--c2); background: rgba(0,114,179,.08);
}
.dg-btn-copiar-prompt.copiado {
  border-color: var(--green); color: var(--green); background: rgba(26,158,110,.08);
}

/* ══════════════════════════════════════
   PANEL MARCAS
══════════════════════════════════════ */

/* Grid de tarjetas */
.dg-marcas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.dg-marca-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: all .2s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.dg-marca-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--marca-color, var(--c2));
}
.dg-marca-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--marca-color, var(--c2));
}

.dg-marca-avatar {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 12px;
  color: white;
}
.dg-marca-nombre {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dg-marca-nicho {
  font-size: 11px; color: var(--muted); margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: .08em;
}
.dg-marca-progreso {
  display: flex; align-items: center; gap: 8px;
}
.dg-marca-progreso-bar {
  flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden;
}
.dg-marca-progreso-fill {
  height: 100%; border-radius: 2px;
  background: var(--marca-color, var(--c2));
  transition: width .4s;
}
.dg-marca-progreso-label {
  font-size: 10px; color: var(--muted); white-space: nowrap;
}
.dg-marca-badge-completa {
  position: absolute; top: 14px; right: 14px;
  font-size: 9px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(26,158,110,.12); color: var(--green);
  padding: 2px 8px; border-radius: 100px;
}
.dg-marca-badge-vacia {
  position: absolute; top: 14px; right: 14px;
  font-size: 9px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(122,143,158,.1); color: var(--muted);
  padding: 2px 8px; border-radius: 100px;
}

/* Modal ficha de marca */
.dg-ficha-seccion {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.dg-ficha-seccion:last-child { border-bottom: none; }

.dg-ficha-seccion-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px 0;
}
.dg-ficha-seccion-label {
  font-size: 10px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
}

.dg-ficha-subtabs {
  display: flex; gap: 0;
  padding: 10px 24px 0;
  border-bottom: 1px solid var(--border);
}
.dg-ficha-subtab {
  font-size: 11px; font-weight: 600; color: var(--muted);
  background: none; border: none; cursor: pointer;
  padding: 6px 12px; border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: all .15s;
}
.dg-ficha-subtab.active { color: var(--c2); border-bottom-color: var(--c2); }

.dg-ficha-contenido {
  padding: 14px 24px 18px;
  font-size: 13px; line-height: 1.7; color: var(--text-2);
  min-height: 48px;
}
.dg-ficha-contenido.vacio { color: var(--muted); font-style: italic; }

.dg-ficha-textarea {
  width: 100%; min-height: 90px; padding: 10px 14px;
  font-size: 13px; line-height: 1.6; font-family: 'Inter', sans-serif;
  border: 1.5px solid var(--c2); border-radius: var(--radius);
  background: var(--surface); color: var(--text); outline: none; resize: vertical;
}

.dg-ficha-comentarios {
  padding: 10px 24px 16px;
}
.dg-ficha-comment-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.dg-ficha-comment-item:last-child { border-bottom: none; }
.dg-ficha-comment-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
  background: var(--surface-2); color: var(--muted);
}
.dg-ficha-comment-body { flex: 1; min-width: 0; }
.dg-ficha-comment-autor {
  font-size: 11px; font-weight: 600; color: var(--text);
  margin-bottom: 2px;
}
.dg-ficha-comment-texto { font-size: 12px; color: var(--text-2); line-height: 1.5; }
.dg-ficha-comment-meta {
  display: flex; align-items: center; gap: 8px; margin-top: 4px;
}
.dg-ficha-comment-fecha { font-size: 10px; color: var(--muted); }
.dg-btn-resolver {
  font-size: 10px; padding: 2px 8px; border-radius: 4px;
  border: 1px solid var(--green); color: var(--green);
  background: none; cursor: pointer; transition: all .15s;
}
.dg-btn-resolver:hover { background: rgba(26,158,110,.1); }

.dg-ficha-historial-toggle {
  font-size: 11px; color: var(--muted); background: none; border: none;
  cursor: pointer; padding: 6px 0; display: flex; align-items: center; gap: 4px;
  transition: color .15s;
}
.dg-ficha-historial-toggle:hover { color: var(--text); }
.dg-ficha-historial { display: none; }
.dg-ficha-historial.open { display: block; }
.dg-ficha-comment-item.resuelto .dg-ficha-comment-autor { opacity: .5; }
.dg-ficha-comment-item.resuelto .dg-ficha-comment-texto { opacity: .5; text-decoration: line-through; }

.dg-ficha-nueva-comment {
  display: flex; gap: 8px; margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--border);
}
.dg-ficha-nueva-comment input {
  flex: 1; padding: 8px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 12px; font-family: 'Inter', sans-serif;
  background: var(--surface-2); color: var(--text); outline: none;
  transition: border-color .2s;
}
.dg-ficha-nueva-comment input:focus { border-color: var(--c2); }
.dg-ficha-nueva-comment button {
  padding: 8px 14px; border-radius: var(--radius);
  background: var(--c2); color: white; border: none;
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.dg-ficha-nueva-comment button:hover { background: var(--c3); }

/* Vista solo lectura (cliente/diseñador) sin textarea */
.dg-ficha-readonly .dg-btn-editar { display: none !important; }

@media (max-width: 640px) {
  .dg-marcas-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dg-ficha-seccion-header { padding: 14px 16px 0; }
  .dg-ficha-subtabs { padding: 8px 16px 0; }
  .dg-ficha-contenido { padding: 12px 16px 14px; }
  .dg-ficha-comentarios { padding: 8px 16px 12px; }
}


/* ══ REDES SOCIALES: switch ══════════════════════════════ */
.dg-switch {
  width: 42px; height: 24px; border-radius: 12px;
  background: var(--border); cursor: pointer;
  transition: background .2s; position: relative; flex-shrink: 0;
}
.dg-switch.on { background: var(--accent); }
.dg-switch-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; transition: left .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.dg-switch.on .dg-switch-thumb { left: 21px; }

/* ══ REDES SOCIALES: estado buttons ═════════════════════ */
.dg-redes-estado-btn {
  padding: 5px 12px; border-radius: 20px; border: 1.5px solid var(--border);
  background: transparent; color: var(--text); font-size: 12px;
  cursor: pointer; transition: all .15s; font-weight: 500;
}
.dg-redes-estado-btn:hover { border-color: var(--accent); color: var(--accent); }
.dg-redes-estado-btn[data-estado="planeacion"].active { background: #6b728014; border-color: #6b7280; color: #374151; }
.dg-redes-estado-btn[data-estado="idea"].active    { background: #fef3c714; border-color: #f59e0b; color: #d97706; }
.dg-redes-estado-btn[data-estado="aprobado"].active { background: #3da2db14; border-color: #3da2db; color: #0072b3; }
.dg-redes-estado-btn[data-estado="publicado"].active { background: #10b98114; border-color: #10b981; color: #059669; }

/* ══ CALENDARIO: toggle redes button ════════════════════ */
.dg-toggle-redes-cal {
  display: inline-flex !important; align-items: center; gap: 6px;
  border: 1.5px solid var(--border) !important;
  background: transparent !important; color: var(--muted) !important;
  transition: all .15s; white-space: nowrap; opacity: 1 !important;
  visibility: visible !important;
}
.dg-toggle-redes-cal.active {
  border-color: var(--accent) !important; background: var(--accent) !important;
  color: #fff !important; opacity: 1 !important; visibility: visible !important;
}
.dg-toggle-redes-cal svg { flex-shrink: 0; stroke: currentColor; }
.dg-toggle-redes-cal.active svg { stroke: #fff !important; }

/* ══ CALENDARIO: redes eventos ══════════════════════════ */
.dg-cal-evento.redes {
  font-style: italic;
  border-left: 3px solid rgba(0,0,0,.15);
}

/* ══ CHECKLIST FORMATOS/ASPECTOS ════════════════════════ */
.dg-field-separator {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
}
.dg-checklist {
  display: flex; flex-direction: column; gap: 8px;
}
.dg-check-item {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; user-select: none;
}
.dg-check-item input[type=checkbox] { display: none !important; }
/* .dg-check-box visual is controlled 100% by JS inline styles */
.dg-check-box {
  width: 17px; height: 17px; min-width: 17px; border-radius: 4px;
  border: 1.5px solid #c0cad4; background: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dg-check-label { font-size: 13px; color: var(--text); font-weight: 500; }

/* ══ BADGE REDES EN TARJETA ════════════════════════════ */
.dg-redes-badge {
  display: flex; align-items: center; justify-content: center;
}

@keyframes fadeInPop {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Drag & drop calendario */
.dg-cal-drop-over {
  background: rgba(0,114,179,.08) !important;
  outline: 2px dashed #0072b3 !important;
  border-radius: 6px;
}
