/**
 * Linda Store Component Library (BEM Methodology)
 * Reusable UI components: Buttons, Cards, Badges, Form Inputs, Modals, Toasts, Tables, Drawers, Skeletons.
 */

/* ==========================================================================
   1. BUTTONS (.linda-btn)
   ========================================================================== */
.linda-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--linda-font-body);
  font-size: var(--linda-font-sm);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  border-radius: var(--linda-radius-md);
  border: 1px solid transparent;
  transition: all var(--linda-transition-base);
  user-select: none;
  text-decoration: none;
}

.linda-btn__icon {
  font-size: 1.2em;
  line-height: 1;
}

/* Button Variants */
.linda-btn--primary {
  background-color: var(--linda-primary);
  color: var(--linda-text-light);
  border-color: var(--linda-primary);
  box-shadow: var(--linda-shadow-pink-glow);
}

.linda-btn--primary:hover:not(:disabled) {
  background-color: var(--linda-primary-dark);
  border-color: var(--linda-primary-dark);
  color: var(--linda-text-light);
  transform: translateY(-1px);
}

.linda-btn--secondary {
  background-color: var(--linda-surface-3);
  color: var(--linda-text-muted);
  border-color: var(--linda-border);
}

.linda-btn--secondary:hover:not(:disabled) {
  background-color: var(--linda-surface-4);
  color: var(--linda-text);
}

.linda-btn--outline {
  background-color: transparent;
  color: var(--linda-primary);
  border-color: var(--linda-primary);
}

.linda-btn--outline:hover:not(:disabled) {
  background-color: var(--linda-surface-1);
  color: var(--linda-primary-dark);
}

.linda-btn--danger {
  background-color: var(--linda-danger);
  color: var(--linda-text-light);
  border-color: var(--linda-danger);
}

.linda-btn--danger:hover:not(:disabled) {
  background-color: #b71c1c;
  border-color: #b71c1c;
}

.linda-btn--gold {
  background-color: var(--linda-gold);
  color: #27171c;
  border-color: var(--linda-gold-border);
  box-shadow: var(--linda-shadow-gold-glow);
}

.linda-btn--gold:hover:not(:disabled) {
  background-color: #b38e46;
  border-color: #b38e46;
  color: #27171c;
}

.linda-btn--ghost {
  background-color: transparent;
  color: var(--linda-text-variant);
  border-color: transparent;
}

.linda-btn--ghost:hover:not(:disabled) {
  background-color: var(--linda-surface-2);
  color: var(--linda-primary);
}

/* Button Sizes */
.linda-btn--sm {
  padding: 0.375rem 0.75rem;
  font-size: var(--linda-font-xs);
  border-radius: var(--linda-radius-sm);
}

.linda-btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: var(--linda-font-base);
  border-radius: var(--linda-radius-lg);
}

.linda-btn:active:not(:disabled) {
  transform: translateY(0);
}


/* ==========================================================================
   2. CARDS (.linda-card)
   ========================================================================== */
.linda-card {
  background-color: var(--linda-surface);
  border: 1px solid var(--linda-border);
  border-radius: var(--linda-radius-md);
  box-shadow: var(--linda-shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--linda-transition-base), border-color var(--linda-transition-base);
}

.linda-card__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--linda-surface-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.linda-card__title {
  font-family: var(--linda-font-title);
  font-size: var(--linda-font-lg);
  color: var(--linda-text);
  margin: 0;
}

.linda-card__subtitle {
  font-size: var(--linda-font-xs);
  color: var(--linda-text-muted);
  margin-top: 0.25rem;
}

.linda-card__body {
  padding: 1.5rem;
}

.linda-card__footer {
  padding: 1rem 1.5rem;
  background-color: var(--linda-surface-1);
  border-top: 1px solid var(--linda-surface-3);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Card Modifiers */
.linda-card--glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(243, 194, 206, 0.6);
}

.linda-card--interactive:hover {
  border-color: var(--linda-primary-light);
  box-shadow: var(--linda-shadow-md);
  transform: translateY(-2px);
}

.linda-card--primary {
  border-top: 4px solid var(--linda-primary);
}


/* ==========================================================================
   3. BADGES (.linda-badge)
   ========================================================================== */
.linda-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.625rem;
  font-size: var(--linda-font-xs);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--linda-radius-sm);
  white-space: nowrap;
}

.linda-badge--primary {
  background-color: var(--linda-surface-3);
  color: var(--linda-primary);
  border: 1px solid var(--linda-border);
}

.linda-badge--secondary {
  background-color: var(--linda-soft-grey);
  color: var(--linda-text-variant);
  border: 1px solid var(--linda-divider-grey);
}

.linda-badge--success {
  background-color: var(--linda-success-bg);
  color: var(--linda-success);
  border: 1px solid rgba(46, 125, 50, 0.3);
}

.linda-badge--warning {
  background-color: var(--linda-warning-bg);
  color: var(--linda-warning);
  border: 1px solid rgba(178, 74, 0, 0.3);
}

.linda-badge--danger {
  background-color: var(--linda-danger-bg);
  color: var(--linda-danger);
  border: 1px solid rgba(198, 40, 40, 0.3);
}

.linda-badge--info {
  background-color: var(--linda-info-bg);
  color: var(--linda-info);
  border: 1px solid rgba(1, 87, 155, 0.3);
}

.linda-badge--gold {
  background-color: var(--linda-gold-light);
  color: var(--linda-gold-text, #8a671d);
  border: 1px solid var(--linda-gold-border);
}

.linda-badge--outline {
  background-color: transparent;
  color: var(--linda-text-variant);
  border: 1px solid var(--linda-outline-variant);
}

.linda-badge--pill {
  border-radius: var(--linda-radius-full);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}


/* ==========================================================================
   4. FORM CONTROLS (.linda-input, .linda-select)
   ========================================================================== */
.linda-input,
.linda-select,
.linda-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-family: var(--linda-font-body);
  font-size: var(--linda-font-sm);
  color: var(--linda-text);
  background-color: var(--linda-surface);
  border: 1px solid var(--linda-border);
  border-radius: var(--linda-radius-sm);
  transition: border-color var(--linda-transition-fast), box-shadow var(--linda-transition-fast);
}

.linda-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a0e17' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.25rem;
}

.linda-input:focus,
.linda-select:focus,
.linda-textarea:focus {
  border-color: var(--linda-primary);
  box-shadow: 0 0 0 3px rgba(185, 0, 100, 0.15);
  outline: none;
}

.linda-input--error,
.linda-select--error {
  border-color: var(--linda-danger);
}

.linda-input--error:focus,
.linda-select--error:focus {
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15);
}

.linda-input--sm,
.linda-select--sm {
  padding: 0.375rem 0.625rem;
  font-size: var(--linda-font-xs);
}

.linda-input--lg,
.linda-select--lg {
  padding: 0.875rem 1.125rem;
  font-size: var(--linda-font-base);
  border-radius: var(--linda-radius-md);
}


/* ==========================================================================
   5. FORM GROUPS (.linda-form-group)
   ========================================================================== */
.linda-form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.linda-form-group__label {
  font-size: var(--linda-font-sm);
  font-weight: 600;
  color: var(--linda-text-muted);
}

.linda-form-group__required {
  color: var(--linda-danger);
  margin-left: 0.2rem;
}

.linda-form-group__help {
  font-size: var(--linda-font-xs);
  color: var(--linda-text-variant);
}

.linda-form-group__error {
  font-size: var(--linda-font-xs);
  color: var(--linda-danger);
  font-weight: 500;
}


/* ==========================================================================
   6. MODALS (.linda-modal)
   ========================================================================== */
.linda-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: var(--linda-z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--linda-transition-base), visibility var(--linda-transition-base);
}

.linda-modal--open {
  opacity: 1;
  visibility: visible;
}

.linda-modal__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(39, 23, 28, 0.6);
  backdrop-filter: blur(4px);
  z-index: -1;
}

.linda-modal__dialog {
  background-color: var(--linda-surface);
  border-radius: var(--linda-radius-md);
  box-shadow: var(--linda-shadow-lg);
  border: 1px solid var(--linda-border);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95) translateY(-10px);
  transition: transform var(--linda-transition-base);
}

.linda-modal--open .linda-modal__dialog {
  animation: modalScaleIn 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.linda-modal--lg .linda-modal__dialog {
  max-width: 800px;
}

.linda-modal--sm .linda-modal__dialog {
  max-width: 380px;
}

.linda-modal__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--linda-surface-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.linda-modal__title {
  font-family: var(--linda-font-title);
  font-size: var(--linda-font-xl);
  color: var(--linda-text);
  margin: 0;
}

.linda-modal__close {
  background: transparent;
  border: none;
  color: var(--linda-text-variant);
  padding: 0.25rem;
  border-radius: var(--linda-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.linda-modal__close:hover {
  color: var(--linda-primary);
  background-color: var(--linda-surface-2);
}

.linda-modal__body {
  padding: 1.5rem;
  overflow-y: auto;
}

.linda-modal__footer {
  padding: 1rem 1.5rem;
  background-color: var(--linda-surface-1);
  border-top: 1px solid var(--linda-surface-3);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

@keyframes modalScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* ==========================================================================
   7. TOAST NOTIFICATIONS (.linda-toast)
   ========================================================================== */
.linda-toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--linda-z-toast);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  width: calc(100% - 3rem);
  pointer-events: none;
}

.linda-toast {
  pointer-events: auto;
  position: relative;
  background-color: var(--linda-surface);
  border-radius: var(--linda-radius-md);
  border: 1px solid var(--linda-border);
  box-shadow: var(--linda-shadow-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  overflow: hidden;
  animation: toastSlideIn 0.3s ease forwards;
}

.linda-toast__icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.linda-toast__content {
  flex-grow: 1;
}

.linda-toast__title {
  font-weight: 600;
  font-size: var(--linda-font-sm);
  color: var(--linda-text);
  margin-bottom: 0.2rem;
}

.linda-toast__message {
  font-size: var(--linda-font-xs);
  color: var(--linda-text-muted);
}

.linda-toast__close {
  color: var(--linda-text-variant);
  padding: 0.2rem;
  background: none;
  border: none;
  flex-shrink: 0;
}

.linda-toast__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: var(--linda-primary);
  animation: toastProgress 4s linear forwards;
}

/* Toast Variants */
.linda-toast--success .linda-toast__progress-bar { background-color: var(--linda-success); }
.linda-toast--success .linda-toast__icon { color: var(--linda-success); }

.linda-toast--error .linda-toast__progress-bar { background-color: var(--linda-danger); }
.linda-toast--error .linda-toast__icon { color: var(--linda-danger); }

.linda-toast--warning .linda-toast__progress-bar { background-color: var(--linda-warning); }
.linda-toast--warning .linda-toast__icon { color: var(--linda-warning); }

.linda-toast--info .linda-toast__progress-bar { background-color: var(--linda-info); }
.linda-toast--info .linda-toast__icon { color: var(--linda-info); }

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}


/* ==========================================================================
   8. DATA TABLES (.linda-table)
   ========================================================================== */
.linda-table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--linda-radius-md);
  border: 1px solid var(--linda-border);
  background-color: var(--linda-surface);
}

.linda-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--linda-font-sm);
}

.linda-table__header {
  background-color: var(--linda-surface-1);
  border-bottom: 2px solid var(--linda-surface-3);
}

.linda-table__head-cell {
  padding: 0.875rem 1rem;
  font-weight: 600;
  color: var(--linda-text-muted);
  text-transform: uppercase;
  font-size: var(--linda-font-xs);
  letter-spacing: 0.05em;
}

.linda-table__row {
  border-bottom: 1px solid var(--linda-surface-2);
  transition: background-color var(--linda-transition-fast);
}

.linda-table__row:last-child {
  border-bottom: none;
}

.linda-table__row:hover {
  background-color: var(--linda-surface-1);
}

.linda-table__cell {
  padding: 0.875rem 1rem;
  vertical-align: middle;
  color: var(--linda-text);
}

.linda-table__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


/* ==========================================================================
   9. DRAWERS (.linda-drawer)
   ========================================================================== */
.linda-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: var(--linda-z-drawer);
  visibility: hidden;
  transition: visibility var(--linda-transition-base);
}

.linda-drawer--open {
  visibility: visible;
}

.linda-drawer__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(39, 23, 28, 0.5);
  opacity: 0;
  transition: opacity var(--linda-transition-base);
}

.linda-drawer--open .linda-drawer__backdrop {
  opacity: 1;
}

.linda-drawer__panel {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  background-color: var(--linda-surface);
  border-right: 1px solid var(--linda-border);
  box-shadow: var(--linda-shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--linda-transition-base);
}

.linda-drawer--right .linda-drawer__panel {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 1px solid var(--linda-border);
  transform: translateX(100%);
}

.linda-drawer--open .linda-drawer__panel {
  transform: translateX(0);
}

.linda-drawer__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--linda-surface-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.linda-drawer__body {
  padding: 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
}


/* ==========================================================================
   10. SKELETON LOADERS (.linda-skeleton)
   ========================================================================== */
.linda-skeleton {
  background: linear-gradient(
    90deg,
    var(--linda-surface-2) 25%,
    var(--linda-surface-4) 50%,
    var(--linda-surface-2) 75%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: var(--linda-radius-sm);
  display: inline-block;
}

.linda-skeleton--text {
  height: 1rem;
  width: 100%;
  margin-bottom: 0.5rem;
}

.linda-skeleton--avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--linda-radius-full);
}

.linda-skeleton--card {
  height: 180px;
  width: 100%;
  border-radius: var(--linda-radius-md);
}

.linda-skeleton--button {
  height: 38px;
  width: 110px;
  border-radius: var(--linda-radius-md);
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   11. CRM GLASSMORPHISM NEON & DARK LUXURY THEME (.crm-*)
   ========================================================================== */
.crm-theme-dark {
  background-color: #0b0610;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(185, 0, 100, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(255, 42, 141, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.05) 0%, transparent 60%);
  color: #f8fafc;
  min-height: calc(100vh - 5rem);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 42, 141, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.crm-header-title {
  background: linear-gradient(135deg, #ffffff 0%, #ff7bb0 50%, #c5a059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--linda-font-title, 'Cinzel', serif);
  letter-spacing: -0.02em;
}

.crm-header-subtitle {
  color: #cbd5e1;
  font-size: 0.875rem;
}

/* Glass Cards */
.crm-glass-card {
  background: rgba(22, 12, 26, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 42, 141, 0.18);
  border-radius: 1.25rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.crm-glass-card:hover {
  border-color: rgba(255, 42, 141, 0.45);
  box-shadow: 0 12px 36px 0 rgba(255, 42, 141, 0.25);
  transform: translateY(-3px);
}

/* KPI Cards */
.crm-kpi-card {
  background: rgba(22, 12, 26, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 42, 141, 0.2);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.3s ease;
}

.crm-kpi-card:hover {
  border-color: rgba(255, 42, 141, 0.5);
  box-shadow: 0 12px 36px rgba(255, 42, 141, 0.25);
  transform: translateY(-4px);
}

.crm-kpi-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.crm-kpi-icon-box--pink {
  background: rgba(255, 42, 141, 0.15);
  border: 1px solid rgba(255, 42, 141, 0.35);
  color: #ff2a8d;
  box-shadow: 0 0 15px rgba(255, 42, 141, 0.3);
}

.crm-kpi-icon-box--cyan {
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: #00f0ff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.crm-kpi-icon-box--gold {
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.crm-kpi-icon-box--green {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.35);
  color: #00e676;
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
}

/* Kanban Columns */
.crm-kanban-column {
  background: rgba(18, 10, 22, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1rem;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.crm-kanban-column--novo { border-top: 3px solid #ff2a8d; }
.crm-kanban-column--contato { border-top: 3px solid #00f0ff; }
.crm-kanban-column--proposta { border-top: 3px solid #ffd700; }
.crm-kanban-column--ganho { border-top: 3px solid #00e676; }
.crm-kanban-column--perdido { border-top: 3px solid #ff1744; }

.crm-kanban-column-header {
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Lead Card */
.crm-lead-card {
  background: rgba(26, 14, 32, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 42, 141, 0.15);
  border-radius: 0.9rem;
  padding: 1rem;
  position: relative;
  cursor: grab;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.crm-lead-card:hover {
  border-color: rgba(255, 42, 141, 0.45);
  box-shadow: 0 8px 25px rgba(255, 42, 141, 0.2);
  transform: translateY(-3px) scale(1.01);
}

.crm-lead-card:active {
  cursor: grabbing;
}

.crm-lead-card--dragging {
  opacity: 0.5;
  border-color: #ff2a8d;
  box-shadow: 0 0 20px rgba(255, 42, 141, 0.5);
}

/* Drag over highlight for dropzone */
.crm-kanban-column.crm-drag-over,
.crm-cards-container.crm-drag-over {
  border-color: rgba(255, 42, 141, 0.6) !important;
  box-shadow: 0 0 25px rgba(255, 42, 141, 0.35) !important;
  background: rgba(35, 18, 42, 0.8) !important;
}

/* Badges Neon */
.crm-badge-neon-pink {
  background: rgba(255, 42, 141, 0.15);
  color: #ff2a8d;
  border: 1px solid rgba(255, 42, 141, 0.4);
  border-radius: 9999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
}

.crm-badge-neon-cyan {
  background: rgba(0, 240, 255, 0.15);
  color: #00f0ff;
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 9999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
}

.crm-badge-neon-gold {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 9999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
}

.crm-badge-neon-green {
  background: rgba(0, 230, 118, 0.15);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.4);
  border-radius: 9999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
}

.crm-badge-neon-red {
  background: rgba(255, 23, 68, 0.15);
  color: #ff1744;
  border: 1px solid rgba(255, 23, 68, 0.4);
  border-radius: 9999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Action Buttons & Controls */
.crm-btn-neon-primary {
  background: linear-gradient(135deg, #b90064 0%, #ff2a8d 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 0 20px rgba(255, 42, 141, 0.45);
  border-radius: 0.75rem;
  padding: 0.625rem 1.25rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.crm-btn-neon-primary:hover {
  background: linear-gradient(135deg, #c7006c 0%, #ff4fa2 100%);
  box-shadow: 0 0 30px rgba(255, 42, 141, 0.65);
  color: #ffffff;
  transform: translateY(-2px);
}

.crm-btn-whatsapp {
  background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  border: none;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.crm-btn-whatsapp:hover {
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.55);
  transform: translateY(-1px);
}

.crm-glass-select {
  background-color: rgba(15, 8, 20, 0.8);
  color: #f1f5f9;
  border: 1px solid rgba(255, 42, 141, 0.25);
  border-radius: 0.5rem;
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  width: 100%;
}

.crm-glass-select:focus {
  border-color: #ff2a8d;
  box-shadow: 0 0 12px rgba(255, 42, 141, 0.35);
  outline: none;
}

/* Glass Modal */
.crm-glass-modal-dialog {
  background: rgba(18, 9, 22, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 42, 141, 0.35) !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 0 40px rgba(255, 42, 141, 0.25) !important;
  color: #f8fafc !important;
}

.crm-glass-input,
.crm-glass-textarea {
  background: rgba(10, 5, 14, 0.75) !important;
  border: 1px solid rgba(255, 42, 141, 0.25) !important;
  color: #ffffff !important;
  border-radius: 0.5rem !important;
  padding: 0.625rem 0.875rem !important;
}

.crm-glass-input:focus,
.crm-glass-textarea:focus {
  border-color: #ff2a8d !important;
  box-shadow: 0 0 15px rgba(255, 42, 141, 0.45) !important;
  outline: none !important;
}

.crm-glass-input::placeholder,
.crm-glass-textarea::placeholder {
  color: #64748b !important;
}

