
.confirm-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.confirm-dialog-card {
  background: #fff;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  padding: 24px 24px 20px;
}
.confirm-dialog-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.confirm-dialog-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.confirm-dialog-icon.error { color: var(--color-error, #ef4444);
}
.confirm-dialog-icon.warning { color: var(--color-warning, #f59e0b);
}
.confirm-dialog-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary, #3f3f46);
}
.confirm-dialog-message {
  font-size: 14px;
  color: var(--text-secondary, #52525b);
  margin-bottom: 24px;
  line-height: 1.5;
}
.confirm-dialog-actions {
  display: flex;
  gap: 12px;
}
.confirm-dialog-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 10px 16px;
}

.tp-wrapper[data-v-d4d07ad6] {
  position: relative;
  display: inline-block;
}
.tp-input[data-v-d4d07ad6] {
  width: 92px;
  padding: 6px 10px;
  border: 1px solid var(--border-primary, #e8e8ec);
  border-radius: 6px;
  background: var(--bg-primary, #fff);
  color: var(--text-primary, #3f3f46);
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  text-align: center;
  cursor: text;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.tp-input[data-v-d4d07ad6]:hover { border-color: #818cf8;
}
.tp-input[data-v-d4d07ad6]:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.tp-dropdown[data-v-d4d07ad6] {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 130px;
  max-height: 200px;
  overflow-y: auto;
  background: var(--surface-overlay, #fff);
  border: 1px solid var(--border-primary, #e8e8ec);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  padding: 4px;
}
.tp-option[data-v-d4d07ad6] {
  padding: 6px 10px;
  font-size: 13px;
  color: var(--text-secondary, #52525b);
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.08s ease;
}
.tp-option[data-v-d4d07ad6]:hover {
  background: var(--bg-hover, #f4f4f5);
  color: var(--text-primary, #3f3f46);
}
.tp-option.active[data-v-d4d07ad6] {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  font-weight: 600;
}
.tp-empty[data-v-d4d07ad6] {
  padding: 8px 10px;
  font-size: 12px;
  color: var(--text-tertiary, #a1a1aa);
}
.tp-fade-enter-active[data-v-d4d07ad6] { transition: opacity 0.1s ease, transform 0.1s ease;
}
.tp-fade-leave-active[data-v-d4d07ad6] { transition: opacity 0.08s ease;
}
.tp-fade-enter-from[data-v-d4d07ad6] { opacity: 0; transform: translateY(4px);
}
.tp-fade-leave-to[data-v-d4d07ad6] { opacity: 0;
}

.attachment-card[data-v-b19ea1ed] {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: transparent;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  transition: var(--transition-card);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: fit-content;
  max-width: 280px;
}
.attachment-card[data-v-b19ea1ed]:hover {
  background: var(--bg-hover);
  transform: translateY(-1px);
}
.attachment-card.attachment-card-compose[data-v-b19ea1ed] {
  cursor: default;
  background: var(--bg-hover) !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px 8px !important;
  gap: 8px !important;
  max-width: 220px;
  border-radius: 8px !important;
}
.attachment-card.attachment-card-compose[data-v-b19ea1ed]:hover {
  background: var(--bg-hover) !important;
  transform: none !important;
  box-shadow: none !important;
}
.attachment-card-compose .file-badge[data-v-b19ea1ed] {
  width: 22px;
  height: 22px;
}
.attachment-card-compose .attachment-name[data-v-b19ea1ed] {
  font-size: 12px;
  margin-bottom: 0;
}
.attachment-card-compose .attachment-size[data-v-b19ea1ed] {
  font-size: 10px;
}
.attachment-card-compose .attachment-action[data-v-b19ea1ed] {
  width: 24px;
  height: 24px;
}
.attachment-card-compose .attachment-action svg[data-v-b19ea1ed] {
  width: 14px;
  height: 14px;
}

/* --- ESTADO DE DRAG --- */
.attachment-card.is-dragging[data-v-b19ea1ed] {
  opacity: 0.5;
  cursor: grabbing !important;
  transform: scale(0.98);
}
.attachment-card.can-drag[data-v-b19ea1ed] {
  cursor: grab;
  user-select: none;
}
.attachment-card.can-drag[data-v-b19ea1ed]:active {
  cursor: grabbing;
}

/* Drag en modo view */
.attachment-card[draggable="true"][data-v-b19ea1ed] {
  cursor: grab;
  user-select: none;
}
.attachment-card[draggable="true"][data-v-b19ea1ed]:active {
  cursor: grabbing;
}

/* Sprint U7b multi-select — Cmd/Ctrl-clicked chips highlight with the
   accent color so the user can confirm what's in the selection set.
   Drag any of the selected chips to upload them as a group. */
.attachment-card.is-selected[data-v-b19ea1ed] {
  outline: 2px solid var(--accent-primary, #4f46e5);
  outline-offset: -2px;
  background: var(--bg-selected, rgba(79, 70, 229, 0.08));
}
.attachment-card.is-selected[data-v-b19ea1ed]::before {
  content: '✓';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-primary, #4f46e5);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.attachment-card[data-v-b19ea1ed] { position: relative;
}

/* ── File badge: Lucide icon + corner ext pill (matches ERP Docs) ── */
.file-badge[data-v-b19ea1ed] {
  position: relative;
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
}
.fb-icon[data-v-b19ea1ed] {
}
.fb-red[data-v-b19ea1ed]    { color: #dc2626;
}
.fb-blue[data-v-b19ea1ed]   { color: #2563eb;
}
.fb-green[data-v-b19ea1ed]  { color: #16a34a;
}
.fb-amber[data-v-b19ea1ed]  { color: #d97706;
}
.fb-purple[data-v-b19ea1ed] { color: #7c3aed;
}
.fb-slate[data-v-b19ea1ed]  { color: #a1a1aa;
}
.fb-ext[data-v-b19ea1ed] {
  position: absolute; bottom: -3px; right: -6px;
  font-size: 6px; font-weight: 800; letter-spacing: 0.3px;
  padding: 1px 3px; border-radius: 2px; line-height: 1;
  border: 1px solid var(--surface-raised, #fff);
  color: #fff;
}
.fb-pill-red[data-v-b19ea1ed]    { background: #ef4444;
}
.fb-pill-blue[data-v-b19ea1ed]   { background: #3b82f6;
}
.fb-pill-green[data-v-b19ea1ed]  { background: #22c55e;
}
.fb-pill-amber[data-v-b19ea1ed]  { background: #f59e0b;
}
.fb-pill-purple[data-v-b19ea1ed] { background: #a78bfa;
}
.fb-pill-slate[data-v-b19ea1ed]  { background: #94a3b8;
}


/* --- INFO TEXT --- */
.attachment-info[data-v-b19ea1ed] {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.attachment-name[data-v-b19ea1ed] {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-0-5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.attachment-size[data-v-b19ea1ed] {
  font-size: var(--font-size-xs);
  color: var(--text-quaternary);
  font-weight: var(--font-weight-normal);
}

/* --- ACTION BUTTONS --- */
.attachment-action[data-v-b19ea1ed] {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-base);
  cursor: pointer;
  transition: var(--transition-all);
  background: transparent;
  opacity: 0.6;
  color: var(--text-secondary);
  position: relative;
  z-index: 10;
  pointer-events: auto;
}
.attachment-action svg[data-v-b19ea1ed] {
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.attachment-action svg[data-v-b19ea1ed] * {
  pointer-events: none;
}
.attachment-action[data-v-b19ea1ed]:hover {
  opacity: 1;
  background: var(--bg-hover);
  color: var(--text-primary);
}
.attachment-download[data-v-b19ea1ed]:hover {
  color: var(--color-success);
  background: var(--color-success-bg);
}
.attachment-remove[data-v-b19ea1ed]:hover {
  color: var(--color-error);
  background: var(--color-error-bg);
}

/* Animación de entrada */
@keyframes slideIn-b19ea1ed {
from {
    opacity: 0;
    transform: translateX(-10px);
}
to {
    opacity: 1;
    transform: translateX(0);
}
}
.attachment-card[data-v-b19ea1ed] {
  animation: slideIn-b19ea1ed var(--duration-normal) var(--ease-out);
}

.snooze-overlay[data-v-bd90bc52] {
  position: fixed;
  inset: 0;
  z-index: 999;
}
.snooze-dropdown[data-v-bd90bc52] {
  position: fixed;
  background: var(--surface-raised, white);
  border: 1px solid var(--border-primary, #e8e8ec);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
  width: 280px;
  padding: 6px;
  z-index: 1000;
}
.snooze-header[data-v-bd90bc52] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-quaternary, #a1a1aa);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.snooze-back[data-v-bd90bc52] {
  width: 22px; height: 22px; border-radius: 6px; border: none;
  background: var(--bg-hover, #f4f4f5); color: var(--text-secondary, #52525b); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.12s ease;
}
.snooze-back[data-v-bd90bc52]:hover { background: var(--bg-active, #e4e4e7);
}
.snooze-options[data-v-bd90bc52] { display: flex; flex-direction: column; gap: 2px;
}
.snooze-option[data-v-bd90bc52] {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 9px 10px;
  background: transparent; border: none; border-radius: 10px;
  cursor: pointer; transition: all 0.12s ease;
  text-align: left; color: var(--text-primary, #3f3f46);
}
.snooze-option[data-v-bd90bc52]:hover { background: var(--bg-hover, #f4f4f5);
}
.snooze-option[data-v-bd90bc52]:active { background: var(--bg-active, #e4e4e7); transform: scale(0.99);
}
.snooze-option-icon[data-v-bd90bc52] {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.snooze-option-content[data-v-bd90bc52] { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0;
}
.snooze-option-label[data-v-bd90bc52] { font-size: 13px; font-weight: 500; color: var(--text-primary, #3f3f46);
}
.snooze-option-time[data-v-bd90bc52] { font-size: 11.5px; color: var(--text-quaternary, #a1a1aa);
}
.snooze-option-custom[data-v-bd90bc52]:hover { background: var(--bg-selected);
}
.snooze-divider[data-v-bd90bc52] { height: 1px; background: var(--bg-hover, #f4f4f5); margin: 4px 8px;
}

/* ── Mini calendar ── */
.cal[data-v-bd90bc52] { padding: 2px 6px;
}
.cal-nav[data-v-bd90bc52] {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 0 6px;
}
.cal-month-label[data-v-bd90bc52] { font-size: 12.5px; font-weight: 600; color: var(--text-primary, #3f3f46);
}
.cal-nav-btn[data-v-bd90bc52] {
  width: 24px; height: 24px; border-radius: 6px; border: none;
  background: transparent; color: var(--text-quaternary, #a1a1aa); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.12s;
}
.cal-nav-btn[data-v-bd90bc52]:hover { background: var(--bg-hover, #f4f4f5); color: var(--text-primary, #3f3f46);
}
.cal-grid[data-v-bd90bc52] {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px;
}
.cal-wk[data-v-bd90bc52] {
  text-align: center; font-size: 10px; font-weight: 500;
  color: var(--text-quaternary, #a1a1aa); padding: 2px 0 4px;
}
.cal-day[data-v-bd90bc52] {
  aspect-ratio: 1; border: none; border-radius: 50%;
  background: transparent; color: var(--text-primary, #3f3f46); font-size: 11.5px; font-weight: 400;
  cursor: pointer; transition: all 0.1s ease;
  display: flex; align-items: center; justify-content: center;
}
.cal-day[data-v-bd90bc52]:hover:not(:disabled):not(.selected) { background: var(--bg-hover, #f4f4f5);
}
.cal-day.other[data-v-bd90bc52] { color: #d4d4d8;
}
.cal-day.today[data-v-bd90bc52]:not(.selected) { color: #6366f1; font-weight: 600; position: relative;
}
.cal-day.today[data-v-bd90bc52]:not(.selected)::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 3px; border-radius: 50%; background: #6366f1;
}
.cal-day.selected[data-v-bd90bc52] { background: #6366f1; color: white; font-weight: 500;
}
.cal-day.selected[data-v-bd90bc52]:hover { background: #4f46e5;
}
.cal-day.past[data-v-bd90bc52] { color: #e4e4e7; cursor: default;
}

/* ── Time chips ── */
.time-section[data-v-bd90bc52] { padding: 0 6px 4px;
}
.time-chips[data-v-bd90bc52] {
  display: flex; gap: 3px;
}
.time-chip[data-v-bd90bc52] {
  flex: 1; padding: 5px 0; border-radius: 6px; border: 1px solid var(--border-primary, #e8e8ec);
  background: var(--surface-raised, white); color: var(--text-secondary, #52525b); font-size: 11px; cursor: pointer;
  transition: all 0.12s; font-family: inherit; font-variant-numeric: tabular-nums;
  text-align: center;
}
.time-chip[data-v-bd90bc52]:hover { background: var(--bg-hover, #f4f4f5); border-color: var(--border-hover, #d4d4d8);
}
.time-chip.active[data-v-bd90bc52] { background: #6366f1; border-color: #6366f1; color: white; font-weight: 500;
}

/* ── Confirm bar ── */
.confirm-bar[data-v-bd90bc52] {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 8px 6px; border-top: 1px solid #f4f4f5; margin-top: 4px;
}
.confirm-preview[data-v-bd90bc52] {
  display: flex; align-items: center; gap: 5px;
  font-size: 11.5px; color: var(--text-tertiary, #71717a);
}
.confirm-btn[data-v-bd90bc52] {
  padding: 6px 16px; border-radius: 8px; border: none;
  background: #6366f1; color: white; font-size: 12px; font-weight: 500;
  cursor: pointer; transition: all 0.15s;
}
.confirm-btn[data-v-bd90bc52]:hover { background: #4f46e5;
}
.confirm-btn[data-v-bd90bc52]:disabled { opacity: 0.35; cursor: not-allowed;
}

/* Transitions */
.snooze-fade-enter-active[data-v-bd90bc52] { animation: snoozeFadeIn-bd90bc52 0.15s ease-out;
}
.snooze-fade-leave-active[data-v-bd90bc52] { animation: snoozeFadeOut-bd90bc52 0.1s ease-in;
}
@keyframes snoozeFadeIn-bd90bc52 {
from { opacity: 0; transform: translateY(-4px) scale(0.98);
}
to { opacity: 1; transform: translateY(0) scale(1);
}
}
@keyframes snoozeFadeOut-bd90bc52 {
from { opacity: 1;
}
to { opacity: 0;
}
}
