/* ================================================================
   CUAsesor - Material Design 3 (Material You) Theme
   ================================================================ */

:root {
  /* M3 Dark Color Tokens (Tonal Palette) */
  --md-sys-color-primary: #a8c7fa;
  --md-sys-color-on-primary: #042a54;
  --md-sys-color-primary-container: #1a3e6c;
  --md-sys-color-on-primary-container: #d3e3fd;

  --md-sys-color-secondary: #bec6dc;
  --md-sys-color-on-secondary: #283041;
  --md-sys-color-secondary-container: #333b49;
  --md-sys-color-on-secondary-container: #dae2f9;

  --md-sys-color-tertiary: #dcbce8;
  --md-sys-color-on-tertiary: #3e284a;
  --md-sys-color-tertiary-container: #563e62;
  --md-sys-color-on-tertiary-container: #f7d8ff;

  --md-sys-color-error: #ffb4ab;
  --md-sys-color-on-error: #690005;
  --md-sys-color-error-container: #93000a;
  --md-sys-color-on-error-container: #ffdad6;

  --md-sys-color-success: #7bd88f;
  --md-sys-color-on-success: #003915;
  --md-sys-color-success-container: #0f5223;
  --md-sys-color-on-success-container: #98f5a9;

  --md-sys-color-warning: #fbc02d;
  --md-sys-color-on-warning: #3a2e00;
  --md-sys-color-warning-container: #554400;
  --md-sys-color-on-warning-container: #ffe082;

  --md-sys-color-surface: #0f131a;
  --md-sys-color-surface-dim: #0a0d14;
  --md-sys-color-surface-bright: #353942;
  --md-sys-color-surface-container-lowest: #080a0f;
  --md-sys-color-surface-container-low: #131720;
  --md-sys-color-surface-container: #181d28;
  --md-sys-color-surface-container-high: #202634;
  --md-sys-color-surface-container-highest: #2b3344;

  --md-sys-color-on-surface: #e2e4ee;
  --md-sys-color-on-surface-variant: #c3c6d4;
  --md-sys-color-outline: #8d919e;
  --md-sys-color-outline-variant: rgba(141, 145, 158, 0.2);

  /* M3 Elevation Shadows */
  --md-sys-elevation-1: 0px 1px 3px 1px rgba(0, 0, 0, 0.25), 0px 1px 2px 0px rgba(0, 0, 0, 0.35);
  --md-sys-elevation-2: 0px 2px 6px 2px rgba(0, 0, 0, 0.25), 0px 1px 2px 0px rgba(0, 0, 0, 0.35);
  --md-sys-elevation-3: 0px 4px 10px 3px rgba(0, 0, 0, 0.3), 0px 1px 3px 0px rgba(0, 0, 0, 0.4);
  --md-sys-elevation-4: 0px 6px 14px 4px rgba(0, 0, 0, 0.35), 0px 2px 4px 0px rgba(0, 0, 0, 0.45);

  /* M3 Shape Corners */
  --md-shape-xs: 4px;
  --md-shape-s: 8px;
  --md-shape-m: 12px;
  --md-shape-l: 16px;
  --md-shape-xl: 24px;
  --md-shape-xxl: 28px;
  --md-shape-full: 9999px;

  /* Backward Compatibility Semantic Tokens */
  --bg-app: var(--md-sys-color-surface);
  --bg-surface: var(--md-sys-color-surface-container);
  --bg-surface-hover: var(--md-sys-color-surface-container-high);
  --bg-elevated: var(--md-sys-color-surface-container-highest);
  --border-subtle: var(--md-sys-color-outline-variant);
  --border-focus: var(--md-sys-color-primary);

  --text-main: var(--md-sys-color-on-surface);
  --text-secondary: var(--md-sys-color-on-surface-variant);
  --text-muted: #8d919e;

  --accent-primary: var(--md-sys-color-primary);
  --accent-success: var(--md-sys-color-success);
  --accent-warning: var(--md-sys-color-warning);
  --accent-danger: var(--md-sys-color-error);
  --accent-info: #70d2ff;

  --radius-sm: var(--md-shape-s);
  --radius-md: var(--md-shape-m);
  --radius-lg: var(--md-shape-xl);
  --radius-xl: var(--md-shape-xxl);

  --font-family: 'Roboto', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--md-sys-color-surface);
  background-image: 
    radial-gradient(circle at 10% 0%, rgba(168, 199, 250, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(220, 188, 232, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--md-sys-color-on-surface);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.15px;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(141, 145, 158, 0.3);
  border-radius: var(--md-shape-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 199, 250, 0.45);
}

/* Header & M3 Top App Bar */
header {
  background: rgba(19, 23, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  padding: 0.85rem 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--md-sys-elevation-1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-badge {
  background: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: var(--md-shape-l);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: var(--md-sys-elevation-1);
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.logo-badge:hover {
  transform: scale(1.05);
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--md-sys-color-on-surface);
}

.logo-text span {
  font-size: 0.76rem;
  color: var(--md-sys-color-on-surface-variant);
  font-weight: 500;
  display: block;
  letter-spacing: 0.3px;
}

/* M3 Segmented Capsule Navigation Tabs */
nav.nav-tabs {
  display: flex;
  gap: 0.3rem;
  background: var(--md-sys-color-surface-container-high);
  padding: 0.3rem;
  border-radius: var(--md-shape-full);
  border: 1px solid var(--md-sys-color-outline-variant);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

.nav-tab-btn {
  background: transparent;
  border: none;
  color: var(--md-sys-color-on-surface-variant);
  padding: 0.55rem 1.25rem;
  border-radius: var(--md-shape-full);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}

.nav-tab-btn:hover {
  color: var(--md-sys-color-on-surface);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab-btn.active {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  font-weight: 700;
  box-shadow: var(--md-sys-elevation-1);
}

/* Main Container */
main.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 2.2rem;
  flex: 1;
}

/* Tab Panels */
.tab-panel {
  display: none;
  animation: m3FadeIn 0.25s cubic-bezier(0.2, 0, 0, 1);
}
.tab-panel.active {
  display: block;
}

@keyframes m3FadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* M3 Metrics Cards (Tonal Elevated Cards) */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.metric-card {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-xl);
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1), border-color 0.2s ease;
  box-shadow: var(--md-sys-elevation-1);
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--md-sys-elevation-2);
  border-color: rgba(168, 199, 250, 0.35);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.metric-card.total::before { background: var(--md-sys-color-primary); }
.metric-card.confirmed::before { background: var(--md-sys-color-success); }
.metric-card.thinking::before { background: var(--accent-info); }
.metric-card.pending::before { background: var(--md-sys-color-warning); }
.metric-card.declined::before { background: var(--md-sys-color-error); }

.metric-title {
  font-size: 0.78rem;
  color: var(--md-sys-color-on-surface-variant);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.metric-value {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--md-sys-color-on-surface);
}

/* M3 Badges & Chips */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--md-shape-full);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-pending {
  background: rgba(251, 192, 45, 0.15);
  color: #ffe082;
  border: 1px solid rgba(251, 192, 45, 0.35);
}

.badge-confirmed, .badge-scheduled {
  background: rgba(123, 216, 143, 0.15);
  color: #a3f7b5;
  border: 1px solid rgba(123, 216, 143, 0.35);
}

.badge-thinking {
  background: rgba(112, 210, 255, 0.15);
  color: #b8e6fe;
  border: 1px solid rgba(112, 210, 255, 0.35);
}

.badge-declined {
  background: rgba(255, 180, 171, 0.15);
  color: #ffdad6;
  border: 1px solid rgba(255, 180, 171, 0.35);
}

/* M3 Buttons (Pill Shapes, Elevation, State Layers) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--md-shape-full);
  font-weight: 600;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  letter-spacing: 0.2px;
  user-select: none;
  box-shadow: var(--md-sys-elevation-1);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  font-weight: 700;
}
.btn-primary:hover {
  box-shadow: var(--md-sys-elevation-2);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-success {
  background: var(--md-sys-color-success);
  color: var(--md-sys-color-on-success);
  font-weight: 700;
}
.btn-success:hover {
  box-shadow: var(--md-sys-elevation-2);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-danger {
  background: var(--md-sys-color-error);
  color: var(--md-sys-color-on-error);
  font-weight: 700;
}
.btn-danger:hover {
  box-shadow: var(--md-sys-elevation-2);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--md-sys-color-outline);
  color: var(--md-sys-color-primary);
  box-shadow: none;
}
.btn-outline:hover {
  background: rgba(168, 199, 250, 0.08);
  border-color: var(--md-sys-color-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.42rem 1rem;
  font-size: 0.82rem;
  border-radius: var(--md-shape-full);
}

/* Toolbar & M3 Filter Chips */
.contacts-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  padding: 1.1rem 1.6rem;
  border-radius: var(--md-shape-xl);
  margin-bottom: 1.5rem;
  box-shadow: var(--md-sys-elevation-1);
}

.toolbar-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  max-width: 420px;
}

/* M3 Search Input */
.toolbar-search .form-control {
  border-radius: var(--md-shape-full);
  padding: 0.75rem 1.4rem;
  background: var(--md-sys-color-surface-container-highest);
  border: 1px solid var(--md-sys-color-outline-variant);
}

.toolbar-search .form-control:focus {
  background: var(--md-sys-color-surface-container-highest);
  border-color: var(--md-sys-color-primary);
  box-shadow: 0 0 0 3px rgba(168, 199, 250, 0.25);
}

/* M3 Filter Chips */
.filter-btn {
  border-radius: var(--md-shape-full) !important;
  background: var(--md-sys-color-surface-container-low) !important;
  border: 1px solid var(--md-sys-color-outline-variant) !important;
  color: var(--md-sys-color-on-surface-variant) !important;
  box-shadow: none !important;
  font-size: 0.83rem !important;
  padding: 0.4rem 1rem !important;
}

.filter-btn:hover {
  background: var(--md-sys-color-surface-container-high) !important;
  color: var(--md-sys-color-on-surface) !important;
}

.filter-btn.btn-primary {
  background: var(--md-sys-color-secondary-container) !important;
  color: var(--md-sys-color-on-secondary-container) !important;
  border-color: var(--md-sys-color-outline) !important;
  font-weight: 700 !important;
}

/* M3 Outlined Text Field */
.form-control {
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline);
  color: var(--md-sys-color-on-surface);
  padding: 0.75rem 1.1rem;
  border-radius: var(--md-shape-m);
  font-size: 0.9rem;
  font-family: var(--font-family);
  width: 100%;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--md-sys-color-primary);
  background: var(--md-sys-color-surface-container);
  box-shadow: 0 0 0 3px rgba(168, 199, 250, 0.2);
}

/* M3 Modern Data Table */
.table-container {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-xl);
  overflow: hidden;
  box-shadow: var(--md-sys-elevation-1);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

table.data-table th {
  background: var(--md-sys-color-surface-container-high);
  padding: 1.1rem 1.4rem;
  font-size: 0.75rem;
  color: var(--md-sys-color-on-surface-variant);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

table.data-table td {
  padding: 1.1rem 1.4rem;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  vertical-align: middle;
  transition: background-color 0.15s ease;
}

table.data-table tr:last-child td {
  border-bottom: none;
}

table.data-table tr:hover td {
  background: rgba(168, 199, 250, 0.05);
}

.contact-name {
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  font-size: 0.98rem;
  display: block;
}

.contact-sub {
  font-size: 0.82rem;
  color: var(--md-sys-color-on-surface-variant);
  margin-top: 2px;
}

.actions-cell {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* M3 Dialogs (Modals) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 19, 26, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-xxl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--md-sys-elevation-4);
  padding: 2.2rem;
  animation: m3DialogPop 0.25s cubic-bezier(0.2, 0, 0, 1);
}

@keyframes m3DialogPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
}

.modal-close {
  background: var(--md-sys-color-surface-container-highest);
  border: 1px solid var(--md-sys-color-outline-variant);
  color: var(--md-sys-color-on-surface-variant);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: rotate(90deg);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--md-sys-color-on-surface-variant);
  letter-spacing: 0.4px;
  margin-bottom: 0.45rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ================= M3 CALL MODAL ================= */
.call-modal {
  max-width: 440px;
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--md-shape-xxl);
  border: 1px solid var(--md-sys-color-outline-variant);
  background: var(--md-sys-color-surface-container-high);
  box-shadow: var(--md-sys-elevation-4);
}

.call-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--md-sys-color-surface-container-highest);
  border: 2px solid var(--md-sys-color-outline-variant);
  margin: 0 auto 1.25rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: var(--md-sys-elevation-2);
  position: relative;
}

.call-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.call-avatar.pulsing::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid var(--md-sys-color-primary);
  border-radius: 50%;
  animation: pulse-ring 1.8s cubic-bezier(0.2, 0, 0, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.92); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}

.call-status-indicator {
  font-size: 0.88rem;
  color: var(--md-sys-color-primary);
  font-weight: 600;
  margin-bottom: 0.35rem;
  letter-spacing: 0.3px;
}

.call-timer {
  font-size: 2rem;
  font-family: 'Roboto Mono', monospace, sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
  color: var(--md-sys-color-on-surface);
}

/* Audio Waves */
.audio-waves {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 42px;
  margin: 1.2rem 0;
}

.audio-bar {
  width: 4px;
  height: 8px;
  background: var(--md-sys-color-primary);
  border-radius: var(--md-shape-full);
  transition: height 0.08s ease;
}

/* Call Transcript Box */
.call-transcript-box {
  background: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-lg);
  padding: 1.1rem 1.25rem;
  height: 150px;
  overflow-y: auto;
  text-align: left;
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: var(--md-sys-color-on-surface-variant);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

.call-status-update-pill {
  background: rgba(129, 201, 149, 0.15);
  border: 1px solid rgba(129, 201, 149, 0.4);
  color: #a8dab5;
  padding: 0.5rem 1.1rem;
  border-radius: var(--md-shape-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

/* ================= M3 SETTINGS SECTIONS ================= */
.settings-section {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-xl);
  padding: 2rem 2.2rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--md-sys-elevation-1);
}

.settings-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--md-sys-color-on-surface);
}

.settings-section p {
  font-size: 0.88rem;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* ================= M3 CALENDAR ================= */
.calendar-view {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-xl);
  padding: 2rem;
  box-shadow: var(--md-sys-elevation-1);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day-header {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--md-sys-color-on-surface-variant);
  padding: 0.6rem 0;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.calendar-day-cell {
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-md);
  min-height: 100px;
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.calendar-day-cell:hover {
  background: var(--md-sys-color-surface-container-high);
  border-color: var(--md-sys-color-primary);
  transform: translateY(-1px);
}

.calendar-day-cell.other-month {
  opacity: 0.3;
}

.calendar-day-number {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--md-sys-color-on-surface-variant);
}

.calendar-event-tag {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  border: 1px solid rgba(168, 199, 250, 0.2);
  padding: 0.35rem 0.65rem;
  border-radius: var(--md-shape-full);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: all 0.15s ease;
}

.calendar-event-tag:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.calendar-event-tag.confirmed {
  background: rgba(129, 201, 149, 0.2);
  color: #c4eed0;
  border-color: rgba(129, 201, 149, 0.4);
}

.calendar-event-tag.thinking {
  background: rgba(168, 199, 250, 0.2);
  color: #d3e3fd;
  border-color: rgba(168, 199, 250, 0.4);
}

/* ================= M3 CAMPAIGN BAR ================= */
.campaign-bar {
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-xl);
  padding: 1.25rem 1.8rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--md-sys-elevation-2);
}

.campaign-badge {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--md-shape-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.6px;
}

/* ================= M3 CUSTOM CHECKBOXES ================= */
.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--md-sys-color-outline);
  border-radius: 4px;
  background: var(--md-sys-color-surface-container-low);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  vertical-align: middle;
}

.custom-checkbox:hover {
  border-color: var(--md-sys-color-primary);
  background: var(--md-sys-color-surface-container-high);
}

.custom-checkbox:checked {
  background: var(--md-sys-color-primary);
  border-color: var(--md-sys-color-primary);
}

.custom-checkbox:checked::after {
  content: '✔';
  font-size: 11px;
  color: var(--md-sys-color-on-primary);
  font-weight: 800;
}

tr.selected-row td {
  background: rgba(168, 199, 250, 0.08) !important;
}

/* ================= M3 EXTENDED SELECTION BAR ================= */
.selection-action-bar {
  background: var(--md-sys-color-surface-container-highest);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-full);
  padding: 0.85rem 1.6rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--md-sys-elevation-3);
  animation: m3BarSlide 0.25s cubic-bezier(0.2, 0, 0, 1);
}

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

.selection-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.selection-pill {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  padding: 0.35rem 0.85rem;
  border-radius: var(--md-shape-full);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ================= M3 EVENT DETAIL MODAL ================= */
.event-detail-modal {
  max-width: 560px;
  border-radius: var(--md-shape-xxl);
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  box-shadow: var(--md-sys-elevation-4);
  padding: 2.2rem 2.4rem;
}

.event-type-badge {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.4rem 0.95rem;
  border-radius: var(--md-shape-full);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.event-type-badge.confirmed {
  background: rgba(129, 201, 149, 0.2);
  color: #c4eed0;
  border-color: rgba(129, 201, 149, 0.4);
}

.event-contact-card {
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-lg);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.4rem;
}

.event-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--md-shape-full);
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.event-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

@media (max-width: 540px) {
  .event-info-grid {
    grid-template-columns: 1fr;
  }
}

.event-info-box {
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-md);
  padding: 0.9rem 1.1rem;
  transition: border-color 0.2s;
}

.event-info-box:hover {
  border-color: var(--md-sys-color-primary);
}

.event-info-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--md-sys-color-on-surface-variant);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.25rem;
}

.event-info-val {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--md-sys-color-on-surface);
  word-break: break-word;
}

.event-notes-section {
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-lg);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.5rem;
}

.event-notes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 0.75rem;
}

.event-agent-tag {
  font-size: 0.74rem;
  background: var(--md-sys-color-surface-container-highest);
  border: 1px solid var(--md-sys-color-outline-variant);
  color: var(--md-sys-color-primary);
  padding: 0.25rem 0.7rem;
  border-radius: var(--md-shape-full);
  font-weight: 600;
}

.event-notes-body {
  font-size: 0.88rem;
  color: var(--md-sys-color-on-surface);
  line-height: 1.5;
  background: var(--md-sys-color-surface-container-lowest);
  padding: 0.9rem 1.1rem;
  border-radius: var(--md-shape-md);
  border-left: 3px solid var(--md-sys-color-primary);
  font-style: italic;
}

.event-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ================= M3 EXCEL IMPORT MODAL & DROPZONE ================= */
.import-excel-modal {
  max-width: 580px;
  border-radius: var(--md-shape-xxl);
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  box-shadow: var(--md-sys-elevation-4);
  padding: 2.2rem 2.4rem;
}

.excel-dropzone {
  border: 2px dashed var(--md-sys-color-outline);
  background: var(--md-sys-color-surface-container-low);
  border-radius: var(--md-shape-xl);
  padding: 2.4rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
}

.excel-dropzone:hover, .excel-dropzone.dragover {
  border-color: var(--md-sys-color-primary);
  background: var(--md-sys-color-surface-container-high);
  transform: translateY(-2px);
}

.dropzone-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.excel-file-selected-info {
  margin-top: 1.2rem;
  background: rgba(129, 201, 149, 0.15);
  border: 1px solid rgba(129, 201, 149, 0.4);
  color: #a8dab5;
  padding: 0.75rem 1.2rem;
  border-radius: var(--md-shape-full);
  font-weight: 600;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.excel-template-box {
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-lg);
  padding: 1.1rem 1.35rem;
  margin-top: 1.25rem;
}

.import-feedback {
  margin-top: 1.25rem;
  padding: 1rem 1.3rem;
  border-radius: var(--md-shape-md);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
  animation: fadeIn 0.25s ease;
}

.import-feedback.success {
  background: rgba(129, 201, 149, 0.15);
  border: 1px solid rgba(129, 201, 149, 0.4);
  color: #a8dab5;
}

.import-feedback.error {
  background: rgba(242, 184, 181, 0.15);
  border: 1px solid rgba(242, 184, 181, 0.4);
  color: #f2b8b5;
}

.import-feedback.warning {
  background: transparent;
  padding: 0;
  border: none;
}

.strategy-option-label {
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  border-radius: var(--md-shape-lg) !important;
}

.strategy-option-label:hover {
  border-color: var(--md-sys-color-primary) !important;
  background: var(--md-sys-color-surface-container-high) !important;
}

.strategy-option-label input[type="radio"]:checked + div > div:first-child {
  color: var(--md-sys-color-primary);
}

/* ================= M3 CAMPAIGN PRE-LAUNCH MODAL ================= */
.campaign-launch-modal {
  max-width: 540px;
  border-radius: var(--md-shape-xxl);
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  box-shadow: var(--md-sys-elevation-4);
  padding: 2.2rem 2.4rem;
}

.campaign-preview-box {
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-lg);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.3rem;
}

.campaign-launch-contacts-list {
  max-height: 140px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.campaign-contact-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-outline-variant);
  padding: 0.55rem 0.95rem;
  border-radius: var(--md-shape-full);
  font-size: 0.84rem;
}

.campaign-launch-actions {
  display: flex;
  gap: 0.85rem;
}

/* ================= M3 GEMINI STATUS & CREDIT ================= */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}





.status-indicator-dot {
  width: 8.5px;
  height: 8.5px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.status-indicator-dot.online {
  background: #81c995;
  box-shadow: 0 0 8px #81c995;
}

.status-indicator-dot.danger {
  background: #f2b8b5;
  box-shadow: 0 0 10px #f2b8b5;
  animation: dangerPulse 1.4s infinite;
}

.status-indicator-dot.warning {
  background: #fdd663;
  box-shadow: 0 0 8px #fdd663;
}

@keyframes dangerPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.transcripts-header-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.transcripts-action-bar {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-xl);
  padding: 0.85rem 1.4rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  box-shadow: var(--md-sys-elevation-1);
}

.transcript-card {
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-xl);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.25rem;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  box-shadow: var(--md-sys-elevation-1);
}

.transcript-card:hover {
  border-color: rgba(168, 199, 250, 0.35);
  box-shadow: var(--md-sys-elevation-2);
}

.transcript-card.selected {
  border-color: var(--md-sys-color-primary);
  background-color: var(--md-sys-color-surface-container-high);
}

.btn-delete-single {
  color: var(--md-sys-color-error) !important;
  border-color: rgba(255, 180, 171, 0.35) !important;
  background: transparent !important;
  padding: 0.32rem 0.8rem !important;
  font-size: 0.78rem !important;
  border-radius: var(--md-shape-full) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  transition: all 0.2s ease !important;
}

.btn-delete-single:hover {
  background: rgba(255, 180, 171, 0.15) !important;
  border-color: var(--md-sys-color-error) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ==========================================================
   ESTILOS DE AUTENTICACIÓN Y MÓDULO DE LOGIN (MATERIAL DESIGN 3)
   ========================================================== */

/* Píldora de Usuario en Header */
.header-user-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-full);
  padding: 0.35rem 0.5rem 0.35rem 0.85rem;
  box-shadow: var(--md-sys-elevation-1);
  transition: all 0.2s ease;
}

.header-user-pill:hover {
  border-color: var(--md-sys-color-primary);
  box-shadow: var(--md-sys-elevation-2);
}

.user-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-name-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  letter-spacing: 0.3px;
}

.btn-logout-icon {
  background: transparent;
  border: none;
  color: var(--md-sys-color-on-surface-variant);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-logout-icon:hover {
  background: rgba(255, 180, 171, 0.15);
  color: var(--md-sys-color-error);
  transform: scale(1.1);
}

/* Pantalla de Login Fullscreen */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: radial-gradient(circle at top center, #172138 0%, #0b101d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: 28px;
  padding: 2.6rem 2.2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), var(--md-sys-elevation-3);
  animation: loginCardFadeIn 0.35s cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  flex-direction: column;
}

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

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo-container {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.2rem auto;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(168, 199, 250, 0.15), rgba(77, 142, 240, 0.25));
  border: 1px solid rgba(168, 199, 250, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(77, 142, 240, 0.25);
}

.login-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.login-title {
  font-family: var(--md-font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 0.35rem;
}

.login-subtitle {
  font-size: 0.88rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.4;
}

/* Alerta de Error en Login */
.login-error-box {
  background: rgba(147, 0, 10, 0.35);
  border: 1px solid rgba(255, 180, 171, 0.4);
  color: #ffb4ab;
  padding: 0.75rem 1rem;
  border-radius: var(--md-shape-md);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.login-error-box.shake {
  animation: shakeError 0.4s ease;
}

.login-form .form-group {
  margin-bottom: 1.2rem;
}

.login-form .form-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.login-form .form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  border-radius: var(--md-shape-md);
  background: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-outline-variant);
  color: #fff;
  transition: all 0.2s ease;
}

.login-form .form-control:focus {
  outline: none;
  border-color: var(--md-sys-color-primary);
  box-shadow: 0 0 0 3px rgba(168, 199, 250, 0.2);
}

.input-password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-password-wrapper .form-control {
  padding-right: 2.8rem;
}

.btn-toggle-password {
  position: absolute;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: var(--md-sys-color-on-surface-variant);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.btn-toggle-password:hover {
  color: var(--md-sys-color-primary);
}

.login-card-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(168, 199, 250, 0.08);
  border: 1px dashed rgba(168, 199, 250, 0.25);
  border-radius: var(--md-shape-md);
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  color: var(--md-sys-color-on-surface-variant);
  margin-top: 0.4rem;
  margin-bottom: 1.5rem;
}

.btn-login-submit {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--md-shape-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(77, 142, 240, 0.35);
  transition: all 0.25s ease;
}

.btn-login-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(77, 142, 240, 0.5);
}

.btn-login-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.spinner-inline {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 0.5rem;
}

/* ==========================================================
   ESTILOS DE ADMINISTRADOR, PERFILES Y ROLES (MATERIAL DESIGN 3)
   ========================================================== */

/* Etiqueta de Rol en Header */
.header-role-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.1rem 0.45rem;
  border-radius: var(--md-shape-full);
  display: inline-block;
}

.header-role-tag.admin {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.15);
  border: 1px solid rgba(192, 132, 252, 0.3);
}

.header-role-tag.asesor {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Banner de Encabezado en Pantalla Administrador */
.admin-header-banner {
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-xl);
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: var(--md-sys-elevation-1);
}

/* Píldoras de Rol en Tabla */
.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--md-shape-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.role-pill.admin {
  background: rgba(192, 132, 252, 0.15);
  color: #d8b4fe;
  border: 1px solid rgba(192, 132, 252, 0.35);
}

.role-pill.asesor {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

/* Avatares de Usuario en Tabla */
.user-row-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--md-sys-elevation-1);
}

.user-row-avatar.admin-avatar {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border: 1px solid rgba(216, 180, 254, 0.4);
}

.user-row-avatar.asesor-avatar {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  border: 1px solid rgba(125, 211, 252, 0.4);
}

.self-tag {
  font-size: 0.7rem;
  background: rgba(168, 199, 250, 0.18);
  color: var(--md-sys-color-primary);
  border: 1px solid rgba(168, 199, 250, 0.35);
  padding: 0.1rem 0.45rem;
  border-radius: var(--md-shape-full);
  margin-left: 0.4rem;
  font-weight: 700;
}

.btn-delete-user {
  color: var(--md-sys-color-error) !important;
  border-color: rgba(255, 180, 171, 0.35) !important;
  transition: all 0.2s ease !important;
}

.btn-delete-user:hover {
  background: rgba(255, 180, 171, 0.15) !important;
  border-color: var(--md-sys-color-error) !important;
  transform: translateY(-1px);
}







