/**
 * Recalls Page Styles
 * Styles specifiques pour le tableau de bord des rappels patients
 * Design System v2 — all tokens use --v-* prefix
 */

/* ============================================
   Container & Layout
   ============================================ */

.recalls-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--v-space-6) var(--v-space-8);
}

/* ============================================
   Header
   ============================================ */

.recalls-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--v-space-6);
  flex-wrap: wrap;
  gap: var(--v-space-4);
}

.header-left {
  display: flex;
  align-items: center;
  gap: var(--v-space-4);
}

.recalls-header h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--v-space-2);
}

.header-icon {
  font-size: 1.5rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--v-space-4);
}

.user-selector {
  display: flex;
  align-items: center;
  gap: var(--v-space-2);
}

.user-selector label {
  font-size: 0.875rem;
  color: var(--v-text-secondary);
}

.user-select {
  padding: var(--v-space-2) var(--v-space-4);
  border: 1px solid var(--v-border-default);
  border-radius: var(--v-radius-md);
  font-size: 0.875rem;
  min-width: 180px;
}

.user-select:focus {
  outline: none;
  border-color: var(--v-accent);
  box-shadow: 0 0 0 2px oklch(0.55 0.22 25 / 0.15);
}

/* Realtime Status Indicator */
.realtime-indicator {
  display: flex;
  align-items: center;
  gap: var(--v-space-2);
  padding: 0.375rem 0.75rem;
  background: var(--v-bg-subtle);
  border-radius: var(--v-radius-full);
  font-size: 0.75rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--v-text-muted);
}

.status-dot.connected {
  background: var(--v-success);
  animation: pulse-dot 2s infinite;
}

.status-dot.disconnected {
  background: var(--v-error);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================
   Stats Bar
   ============================================ */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--v-space-4);
  margin-bottom: var(--v-space-6);
}

.stat-card {
  background: var(--v-bg-elevated);
  border-radius: var(--v-radius-xl);
  padding: var(--v-space-4) var(--v-space-5);
  box-shadow: var(--v-shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform var(--v-duration-fast) var(--v-ease-out),
              box-shadow var(--v-duration-fast) var(--v-ease-out);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--v-shadow-md);
}

.stat-icon {
  font-size: 1.5rem;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-card .label {
  font-size: 0.7rem;
  color: var(--v-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-card .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v-text-primary);
}

.stat-card.priority-1 .value { color: var(--v-error); }
.stat-card.priority-2 .value { color: oklch(0.65 0.18 50); }
.stat-card.priority-3 .value { color: oklch(0.72 0.15 85); }
.stat-card.priority-4 .value { color: var(--v-info); }
.stat-card.success .value { color: var(--v-success); }

/* ============================================
   Filter Section
   ============================================ */

.filter-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--v-space-4);
  margin-bottom: var(--v-space-4);
  background: var(--v-bg-elevated);
  padding: 0.75rem var(--v-space-4);
  border-radius: var(--v-radius-xl);
  box-shadow: var(--v-shadow-sm);
}

.filter-tabs {
  display: flex;
  gap: var(--v-space-2);
}

.filter-tab {
  padding: var(--v-space-2) var(--v-space-4);
  border: none;
  background: var(--v-bg-subtle);
  border-radius: var(--v-radius-md);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--v-text-secondary);
  transition: all var(--v-duration-fast) var(--v-ease-out);
  display: flex;
  align-items: center;
  gap: var(--v-space-2);
}

.filter-tab:hover {
  background: oklch(0.55 0.22 25 / 0.08);
}

.filter-tab.active {
  background: var(--v-accent);
  color: var(--v-text-on-accent);
}

.filter-tab .badge {
  background: oklch(1 0 0 / 0.2);
  padding: 0.125rem var(--v-space-2);
  border-radius: var(--v-radius-lg);
  font-size: 0.75rem;
}

.filter-tab.active .badge {
  background: oklch(1 0 0 / 0.3);
}

.filter-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.filter-select {
  padding: var(--v-space-2) 0.75rem;
  border: 1px solid var(--v-border-default);
  border-radius: var(--v-radius-md);
  font-size: 0.875rem;
  min-width: 160px;
}

.search-box {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.875rem;
  pointer-events: none;
}

.search-input {
  padding: var(--v-space-2) 0.75rem var(--v-space-2) 2.25rem;
  border: 1px solid var(--v-border-default);
  border-radius: var(--v-radius-md);
  font-size: 0.875rem;
  min-width: 220px;
}

.search-input:focus,
.filter-select:focus {
  outline: none;
  border-color: var(--v-accent);
  box-shadow: 0 0 0 2px oklch(0.55 0.22 25 / 0.15);
}

/* ============================================
   Recalls Table
   ============================================ */

.recalls-table-container {
  background: var(--v-bg-elevated);
  border-radius: var(--v-radius-xl);
  box-shadow: var(--v-shadow-sm);
  overflow: hidden;
}

.recalls-table {
  width: 100%;
  border-collapse: collapse;
}

.recalls-table th {
  background: var(--v-bg-subtle);
  padding: 0.875rem var(--v-space-4);
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--v-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--v-border-default);
}

.recalls-table td {
  padding: 0.875rem var(--v-space-4);
  border-bottom: 1px solid var(--v-border-subtle);
  vertical-align: middle;
}

.recall-row {
  cursor: pointer;
  transition: background var(--v-duration-fast) var(--v-ease-out);
}

.recall-row:hover {
  background: var(--v-bg-subtle);
}

/* Priority Indicators */
.recall-row.priority-1 {
  border-left: 4px solid var(--v-error);
}

.recall-row.priority-2 {
  border-left: 4px solid oklch(0.65 0.18 50);
}

.recall-row.priority-3 {
  border-left: 4px solid oklch(0.72 0.15 85);
}

.recall-row.priority-4 {
  border-left: 4px solid var(--v-info);
}

/* Claim States */
.recall-row.claimed-self {
  background: oklch(0.55 0.22 25 / 0.08);
}

.recall-row.claimed-self:hover {
  background: oklch(0.55 0.22 25 / 0.12);
}

.recall-row.claimed-other {
  opacity: 0.6;
}

.recall-row.completed {
  opacity: 0.5;
  text-decoration: line-through;
  text-decoration-color: var(--v-text-muted);
}

/* Flash animation for realtime updates */
.recall-row.flash-update {
  animation: flash-row 1s ease-out;
}

@keyframes flash-row {
  0% { background: oklch(0.60 0.15 250 / 0.3); }
  100% { background: transparent; }
}

.recall-row.fade-out {
  animation: fade-out 0.3s ease-out forwards;
}

@keyframes fade-out {
  to { opacity: 0; transform: translateX(-20px); }
}

/* Cell Styles */
.priority-badge {
  font-size: 1.25rem;
}

.pet-cell,
.client-cell {
  display: flex;
  align-items: center;
  gap: var(--v-space-2);
}

.pet-emoji {
  font-size: 1.5rem;
}

.pet-info,
.client-cell {
  display: flex;
  flex-direction: column;
}

.pet-info strong,
.client-cell strong {
  font-weight: 600;
  color: var(--v-text-primary);
}

.pet-info small,
.client-cell small {
  font-size: 0.75rem;
  color: var(--v-text-secondary);
}

.type-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--v-radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--v-bg-subtle);
  color: var(--v-text-secondary);
}

.type-badge.type-vaccine_overdue {
  background: oklch(0.55 0.22 25 / 0.1);
  color: var(--v-error);
}

.type-badge.type-vaccine_expiring {
  background: oklch(0.65 0.18 50 / 0.1);
  color: oklch(0.55 0.18 40);
}

.type-badge.type-inactive_12m {
  background: oklch(0.72 0.15 85 / 0.1);
  color: oklch(0.55 0.15 75);
}

.type-badge.type-geriatric_exam {
  background: oklch(0.60 0.15 250 / 0.1);
  color: var(--v-info);
}

.attempts-badge {
  display: inline-block;
  padding: 0.125rem var(--v-space-2);
  background: var(--v-bg-subtle);
  border-radius: var(--v-radius-lg);
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.25rem;
}

.no-attempts {
  color: var(--v-text-muted);
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--v-radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.status-pending {
  background: var(--v-bg-subtle);
  color: var(--v-text-secondary);
}

.status-mine {
  background: oklch(0.55 0.22 25 / 0.15);
  color: oklch(0.40 0.12 25);
}

.status-other {
  background: oklch(0.60 0.15 250 / 0.1);
  color: var(--v-info);
}

.status-scheduled {
  background: oklch(0.55 0.22 25 / 0.15);
  color: oklch(0.40 0.12 25);
}

.status-completed {
  background: var(--v-bg-subtle);
  color: var(--v-text-secondary);
}

.status-declined,
.status-unreachable {
  background: oklch(0.55 0.22 25 / 0.1);
  color: var(--v-error);
}

/* Loading & Empty States */
.loading-row td {
  text-align: center;
  padding: var(--v-space-12);
  color: var(--v-text-secondary);
}

.loading-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--v-border-default);
  border-top-color: var(--v-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: var(--v-space-2);
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.empty-state {
  text-align: center;
  padding: var(--v-space-16) var(--v-space-8);
  background: var(--v-bg-elevated);
  border-radius: var(--v-radius-xl);
  box-shadow: var(--v-shadow-sm);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: var(--v-space-4);
}

.empty-state h3 {
  margin: 0 0 var(--v-space-2);
  color: var(--v-text-primary);
}

.empty-state p {
  color: var(--v-text-secondary);
  margin: 0;
}

/* ============================================
   Pagination
   ============================================ */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--v-space-4);
  margin-top: var(--v-space-6);
}

.page-info {
  font-size: 0.875rem;
  color: var(--v-text-secondary);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: var(--v-space-2) var(--v-space-4);
  border: none;
  border-radius: var(--v-radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--v-duration-fast) var(--v-ease-out);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8rem;
}

.btn-primary {
  background: var(--v-accent);
  color: var(--v-text-on-accent);
}

.btn-primary:hover:not(:disabled) {
  background: var(--v-accent-dark);
}

.btn-secondary {
  background: var(--v-bg-subtle);
  color: var(--v-text-secondary);
}

.btn-secondary:hover:not(:disabled) {
  background: oklch(0.55 0.22 25 / 0.08);
}

.btn-success {
  background: var(--v-success);
  color: var(--v-text-on-accent);
}

.btn-success:hover:not(:disabled) {
  background: oklch(0.40 0.12 25);
}

.btn-warning {
  background: oklch(0.72 0.15 75);
  color: var(--v-text-on-accent);
}

.btn-warning:hover:not(:disabled) {
  background: oklch(0.62 0.15 65);
}

.btn-danger {
  background: var(--v-error);
  color: var(--v-text-on-accent);
}

.btn-danger:hover:not(:disabled) {
  background: oklch(0.45 0.20 25);
}

/* ============================================
   Modal
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: oklch(0 0 0 / 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--v-duration-fast) var(--v-ease-out),
              visibility var(--v-duration-fast) var(--v-ease-out);
  padding: var(--v-space-4);
}

.modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--v-bg-elevated);
  border-radius: var(--v-radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--v-shadow-xl);
  transform: scale(0.95);
  transition: transform var(--v-duration-fast) var(--v-ease-out);
}

.modal-overlay.visible .modal {
  transform: scale(1);
}

.modal-sm {
  max-width: 450px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--v-space-5) var(--v-space-6);
  border-bottom: 1px solid var(--v-border-default);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--v-text-muted);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.modal-close:hover {
  color: var(--v-text-secondary);
}

.modal-body {
  padding: var(--v-space-6);
}

.modal-section {
  margin-bottom: var(--v-space-6);
}

.modal-section:last-child {
  margin-bottom: 0;
}

.modal-section h4 {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--v-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  padding: var(--v-space-4) var(--v-space-6);
  border-top: 1px solid var(--v-border-default);
  background: var(--v-bg-subtle);
  border-radius: 0 0 var(--v-radius-xl) var(--v-radius-xl);
}

/* Pet Info in Modal */
.pet-info {
  display: flex;
  align-items: center;
  gap: var(--v-space-4);
}

.pet-avatar {
  font-size: 3rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--v-bg-subtle);
  border-radius: var(--v-radius-xl);
}

.pet-details h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.pet-details p {
  margin: 0;
  color: var(--v-text-secondary);
}

/* Contact Actions */
.contact-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-contact {
  flex: 1;
  min-width: 140px;
  text-decoration: none;
}

.btn-contact.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Reason Card */
.reason-card {
  background: var(--v-bg-subtle);
  padding: var(--v-space-4);
  border-radius: var(--v-radius-md);
  border-left: 4px solid var(--v-accent);
}

.reason-priority {
  margin-right: var(--v-space-2);
}

/* History */
.history-list {
  max-height: 150px;
  overflow-y: auto;
  background: var(--v-bg-subtle);
  border-radius: var(--v-radius-md);
  padding: 0.75rem;
}

.no-history {
  color: var(--v-text-muted);
  font-style: italic;
  margin: 0;
  text-align: center;
}

/* Outcome Buttons */
.outcome-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--v-space-2);
}

.outcome-btn {
  padding: 0.75rem var(--v-space-2);
  font-size: 0.8rem;
}

.outcome-btn.selected {
  box-shadow: 0 0 0 2px var(--v-accent);
}

.notes-section {
  margin-top: var(--v-space-4);
}

.notes-section label {
  display: block;
  margin-bottom: var(--v-space-2);
  font-size: 0.875rem;
  color: var(--v-text-secondary);
}

.notes-section textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--v-border-default);
  border-radius: var(--v-radius-md);
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.callback-section,
.appointment-section {
  margin-top: var(--v-space-4);
}

.callback-section label,
.appointment-section label {
  display: block;
  margin-bottom: var(--v-space-2);
  font-size: 0.875rem;
  color: var(--v-text-secondary);
}

.callback-section input,
.appointment-section input {
  width: 100%;
  padding: var(--v-space-2) 0.75rem;
  border: 1px solid var(--v-border-default);
  border-radius: var(--v-radius-md);
}

/* ============================================
   Toast Notifications
   ============================================ */

.toast-container {
  position: fixed;
  bottom: var(--v-space-6);
  right: var(--v-space-6);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: var(--v-space-2);
}

.toast {
  padding: 0.875rem var(--v-space-5);
  border-radius: var(--v-radius-md);
  background: var(--v-text-primary);
  color: var(--v-text-on-accent);
  font-size: 0.875rem;
  box-shadow: var(--v-shadow-lg);
  transform: translateX(120%);
  transition: transform var(--v-duration-normal) var(--v-ease-out);
}

.toast.visible {
  transform: translateX(0);
}

.toast-success {
  background: var(--v-success);
}

.toast-error {
  background: var(--v-error);
}

.toast-warning {
  background: oklch(0.72 0.15 75);
}

.toast-info {
  background: var(--v-info);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .recalls-container {
    padding: var(--v-space-4);
  }

  .stats-bar {
    grid-template-columns: repeat(3, 1fr);
  }

  .filter-section {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-tabs {
    overflow-x: auto;
    padding-bottom: var(--v-space-2);
  }

  .filter-controls {
    flex-direction: column;
  }

  .search-input,
  .filter-select {
    width: 100%;
  }

  .outcome-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .recalls-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-right {
    width: 100%;
    flex-direction: column;
  }

  .user-selector {
    width: 100%;
  }

  .user-select {
    flex: 1;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .recalls-table th:nth-child(5),
  .recalls-table td:nth-child(5) {
    display: none;
  }

  .modal {
    max-height: 100vh;
    border-radius: var(--v-radius-xl) var(--v-radius-xl) 0 0;
    margin-top: auto;
  }

  .contact-buttons {
    flex-direction: column;
  }
}

/* ============================================
   Call Script Section
   ============================================ */

.call-script-section h4 {
  margin: 0;
}

.script-toggle {
  display: flex;
  align-items: center;
  gap: var(--v-space-2);
  width: 100%;
  padding: 0.75rem var(--v-space-4);
  background: oklch(0.60 0.15 250 / 0.08);
  border: 1px solid var(--v-info);
  border-radius: var(--v-radius-md);
  color: var(--v-info);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--v-duration-fast) var(--v-ease-out);
}

.script-toggle:hover {
  background: var(--v-info);
  color: var(--v-text-on-accent);
}

.script-toggle .toggle-icon {
  margin-left: auto;
  transition: transform var(--v-duration-fast) var(--v-ease-out);
}

.script-toggle.collapsed .toggle-icon {
  transform: rotate(-90deg);
}

.script-content {
  margin-top: var(--v-space-4);
  transition: all var(--v-duration-normal) var(--v-ease-out);
}

.script-content.hidden {
  display: none;
}

/* Script Phases */
.script-phase {
  margin-bottom: var(--v-space-4);
  border: 1px solid var(--v-border-default);
  border-radius: var(--v-radius-md);
  overflow: hidden;
}

.script-phase:last-child {
  margin-bottom: 0;
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem var(--v-space-4);
  background: var(--v-bg-subtle);
  border-bottom: 1px solid var(--v-border-default);
}

.phase-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--v-info);
  color: var(--v-text-on-accent);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
}

.phase-icon {
  font-size: 1.25rem;
}

.phase-title {
  font-weight: 600;
  color: var(--v-text-secondary);
}

.phase-chevron {
  margin-left: auto;
  color: var(--v-text-muted);
  transition: transform var(--v-duration-fast) var(--v-ease-out);
}

.phase-toggle {
  cursor: pointer;
}

.phase-toggle:hover {
  background: oklch(0.55 0.22 25 / 0.06);
}

.phase-content {
  padding: var(--v-space-4);
}

.phase-content.collapsed {
  display: none;
}

.phase-content.expanded + .phase-header .phase-chevron {
  transform: rotate(90deg);
}

/* Script Text Styles */
.script-line {
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background: var(--v-bg-subtle);
  border-radius: var(--v-radius-sm);
  line-height: 1.6;
  color: var(--v-text-primary);
}

.script-line:last-child {
  margin-bottom: 0;
}

.script-line strong {
  color: var(--v-info);
}

.script-line .highlight {
  background: oklch(0.60 0.15 250 / 0.15);
  padding: 0.125rem 0.375rem;
  border-radius: var(--v-radius-xs);
  font-weight: 500;
}

/* Objection Cards */
.objection-card {
  margin-bottom: var(--v-space-4);
  border: 1px solid var(--v-border-default);
  border-radius: var(--v-radius-md);
  overflow: hidden;
}

.objection-card:last-child {
  margin-bottom: 0;
}

.objection-trigger {
  display: flex;
  align-items: center;
  gap: var(--v-space-2);
  padding: 0.75rem var(--v-space-4);
  background: oklch(0.65 0.18 50 / 0.1);
  color: oklch(0.55 0.18 40);
  font-weight: 500;
  font-size: 0.9rem;
}

.objection-trigger::before {
  content: "\1F5E3\FE0F";
}

.objection-response {
  padding: var(--v-space-4);
  background: oklch(0.55 0.22 25 / 0.05);
  border-left: 3px solid var(--v-success);
  line-height: 1.6;
}

.objection-response::before {
  content: "\1F4AC ";
  font-weight: 600;
}

/* Voicemail Script */
.voicemail-script {
  background: oklch(0.72 0.15 85 / 0.05);
  border-color: oklch(0.55 0.15 75);
}

.voicemail-script .phase-header {
  background: oklch(0.72 0.15 85 / 0.1);
  border-color: oklch(0.72 0.15 85 / 0.2);
}

.voicemail-script .phase-content {
  font-style: italic;
  color: var(--v-text-secondary);
}

/* Tips Section */
.script-tips {
  margin-top: var(--v-space-4);
  padding: var(--v-space-4);
  background: var(--v-bg-subtle);
  border-radius: var(--v-radius-md);
  border-left: 4px solid var(--v-info);
}

.script-tips h5 {
  margin: 0 0 var(--v-space-2);
  font-size: 0.9rem;
  color: var(--v-info);
}

.script-tips ul {
  margin: 0;
  padding-left: 1.25rem;
}

.script-tips li {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  color: var(--v-text-secondary);
}

.script-tips li:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .stat-card,
  .filter-tab,
  .recall-row,
  .btn,
  .modal,
  .modal-overlay,
  .toast,
  .script-toggle,
  .phase-chevron,
  .script-toggle .toggle-icon,
  .script-content,
  .loading-spinner {
    transition: none;
    animation: none;
  }
}
