/* Modern light-mode styling for CRM AEA */
:root {
  --font-title: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Colors */
  --bg-app: #f4f6f9;
  --bg-card: #ffffff;
  --bg-sidebar: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  --border-light: #e2e8f0;
  --border-focus: #3b82f6;

  /* Theme Accents */
  --color-primary: #3b82f6;      /* Blue */
  --color-primary-light: #eff6ff;
  --color-success: #10b981;      /* Emerald */
  --color-success-light: #ecfdf5;
  --color-warning: #f59e0b;      /* Amber */
  --color-warning-light: #fffbeb;
  --color-danger: #ef4444;       /* Red */
  --color-danger-light: #fef2f2;
  --color-info: #06b6d4;         /* Cyan */
  --color-info-light: #ecfeff;
  
  /* Lead Source Colors */
  --source-gbp: #f59e0b;
  --source-gbp-bg: #fffbeb;
  --source-ads: #3b82f6;
  --source-ads-bg: #eff6ff;
  --source-web: #0d9488;
  --source-web-bg: #f0fdfa;
  --source-landing: #64748b;
  --source-landing-bg: #f8fafc;

  /* Shadow Design */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* Reset & Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-app);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* App Header styling */
.app-header {
  background-color: var(--bg-sidebar);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-box {
  background: linear-gradient(135deg, var(--color-primary), #1d4ed8);
  color: var(--text-inverse);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
}

.logo-text h1 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo-text .subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Navigation Links */
.header-nav {
  display: flex;
  background-color: #f1f5f9;
  padding: 0.25rem;
  border-radius: var(--radius-md);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  background: none;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.nav-link svg {
  opacity: 0.7;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link.active {
  background-color: var(--bg-card);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.nav-link.active svg {
  opacity: 1;
}

/* Actions Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
}

.btn-secondary:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.status-badge.live {
  background-color: var(--color-success-light);
  color: var(--color-success);
}

.status-badge.live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-success);
  display: inline-block;
}

/* Main Content Area */
.main-content {
  flex: 1;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* View panel toggle */
.view-panel {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.view-panel.active {
  display: flex;
}

/* Mini Dashboard Summary */
.summary-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.stat-card {
  background-color: var(--bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-card.accent {
  background: linear-gradient(135deg, var(--color-primary-light), #dbeafe);
  border-color: #bfdbfe;
}

.stat-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.stat-value {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Kanban Board Layout */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  flex: 1;
  min-height: 480px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .kanban-board {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .kanban-board {
    grid-template-columns: 1fr;
  }
}

/* Kanban Columns */
.kanban-column {
  background-color: #edf0f5;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
  min-height: 400px;
}

.kanban-column.drag-over {
  background-color: #e2e8f0;
  border-color: #cbd5e1;
  border-style: dashed;
}

.column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 0.25rem;
}

.column-header h2 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.column-count {
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #cbd5e1;
  color: var(--text-main);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

.column-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  max-height: 600px;
  padding: 0.2rem;
}

/* Kanban Cards */
.kanban-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  cursor: grab;
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.kanban-card:active {
  cursor: grabbing;
}

.kanban-card.dragging {
  opacity: 0.4;
  transform: scale(0.95);
  box-shadow: var(--shadow-sm);
}

/* Card Header elements */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  gap: 0.5rem;
}

.card-header h3 {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.lead-type-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.lead-type-badge.contact {
  background-color: #e0f2fe;
  color: #0369a1;
}

.lead-type-badge.call {
  background-color: #fef3c7;
  color: #b45309;
}

.card-date {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Card Body elements */
.card-body {
  display: flex;
  flex-direction: column;
  gap: 6px; /* Espace régulier entre chaque ligne */
  margin-bottom: 12px;
}

.card-details {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-details span {
  display: flex;
  align-items: center;
  gap: 8px; /* Écarte légèrement l'icône du texte */
  word-break: break-all;
}

.card-message {
  margin-top: 0.55rem;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  color: var(--text-main);
  line-height: 1.5;
  background-color: #f8fafc;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--border-light);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  height: auto;
}

/* Card Footer elements */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Évite les chevauchements sur petit écran */
  gap: 8px;
  border-top: 1px dashed var(--border-light);
  padding-top: 0.5rem;
  margin-top: auto; /* Pousse le footer toujours en bas de la carte */
}

.source-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.source-badge.gbp {
  background-color: var(--source-gbp-bg);
  color: var(--source-gbp);
}

.source-badge.google-ads {
  background-color: var(--source-ads-bg);
  color: var(--source-ads);
}

.source-badge.site-web {
  background-color: var(--source-web-bg);
  color: var(--source-web);
}

.source-badge.landing-page {
  background-color: var(--source-landing-bg);
  color: var(--source-landing);
}

/* Archiving Dock at the bottom */
.archive-bar {
  background-color: var(--bg-card);
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.archive-bar-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.archive-zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.archive-zone {
  border: 2px dashed var(--border-light);
  background-color: #f8fafc;
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: default;
  transition: all var(--transition-fast);
}

.archive-zone svg {
  opacity: 0.6;
}

.archive-zone.drag-over {
  border-style: solid;
  transform: scale(1.02);
}

.archive-zone.won.drag-over {
  background-color: var(--color-success-light);
  border-color: var(--color-success);
  color: var(--color-success);
}

.archive-zone.lost.drag-over {
  background-color: var(--color-danger-light);
  border-color: var(--color-danger);
  color: var(--color-danger);
}

.archive-zone.disqualified.drag-over {
  background-color: #e2e8f0;
  border-color: var(--text-muted);
  color: var(--text-main);
}

/* Audit Log Table Styles */
.audit-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.audit-header h2 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
}

.audit-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.table-wrapper {
  overflow-x: auto;
}

.audit-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.audit-table th {
  background-color: #f8fafc;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.audit-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

.audit-table tr:hover {
  background-color: #f8fafc;
}

.audit-table .empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

.audit-action-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  display: inline-block;
}

.audit-action-badge.update {
  background-color: #e0f2fe;
  color: #0369a1;
}

.audit-action-badge.archive {
  background-color: #fef3c7;
  color: #b45309;
}

/* App Footer */
.app-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding: 1rem 1.5rem;
  text-align: center;
  background-color: var(--bg-sidebar);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Toast Floating Notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--text-main);
  color: var(--text-inverse);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 500;
  transform: translateY(1rem);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}
.toast.visible {
  transform: translateY(0);
  opacity: 1;
}
.toast.success {
  border-left: 4px solid var(--color-success);
}
.toast.error {
  border-left: 4px solid var(--color-danger);
}

/* Loading animation for refresh button */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.btn-secondary.loading svg {
  animation: spin 1s linear infinite;
}

/* Local environment status badge */
.status-badge.local {
  background-color: var(--color-warning-light);
  color: var(--color-warning);
}
.status-badge.local::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-warning);
  display: inline-block;
}

/* Modal details container */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}
.modal-overlay.active {
  display: flex;
}
.modal-card {
  background-color: var(--bg-card);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  animation: modalScaleIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h2 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
}
.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.modal-close-btn:hover {
  background-color: #f1f5f9;
  color: var(--text-main);
}
.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  background-color: #f8fafc;
}

/* Form structures */
.form-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.form-section h3 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.35rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
}
.form-group input, .form-group textarea, .form-group select {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background-color: #ffffff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.form-group textarea {
  resize: vertical;
  line-height: 1.5;
}

/* Metadata section styles */
.meta-section {
  background-color: #f8fafc;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-light);
}
.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.meta-tracking h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.tracking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
  font-size: 0.75rem;
  background-color: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}
.page-url-meta {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  background-color: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  word-break: break-all;
}
.status-indicator {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background-color: #e2e8f0;
  color: var(--text-main);
  display: inline-block;
  text-transform: capitalize;
}

/* Primary Button */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--text-inverse);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background-color: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

/* Archives view layout */
.archives-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.archives-header h2 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
}
.archives-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.archives-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.82rem;
}
.archives-table th {
  background-color: #f8fafc;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
}
.archives-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  vertical-align: top;
}
.archives-table tr:hover {
  background-color: #f8fafc;
}

/* Archive status badges */
.archive-status-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  display: inline-block;
  text-transform: uppercase;
}
.archive-status-badge.won {
  background-color: var(--color-success-light);
  color: var(--color-success);
}
.archive-status-badge.lost {
  background-color: var(--color-danger-light);
  color: var(--color-danger);
}
.archive-status-badge.disqualified {
  background-color: #e2e8f0;
  color: var(--text-muted);
}
.archive-notes-preview {
  color: var(--text-muted);
  font-style: italic;
  max-height: 80px;
  overflow-y: auto;
  font-size: 0.75rem;
  white-space: pre-wrap;
}

.btn-action-restore {
  color: var(--color-primary);
  background: none;
  border: 1px solid var(--color-primary);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.btn-action-restore:hover {
  background-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

/* Modal Form Flexbox layout for truncation fix */
#lead-edit-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

#modal-message {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-main);
  background-color: #f8fafc;
  padding: 0.6rem 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  outline: none;
  resize: vertical;
  line-height: 1.5;
  font-style: italic;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}
#modal-message:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  background-color: #ffffff;
}



