/*
 * This is a manifest file that'll be compiled into application.css, which will include
 * all the files listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 /*
  *= require_self
  */

@import url("/assets/contacts-89d23ef6.css");
@import url("/assets/contact_detail-3d9e96a1.css");
@import url("/assets/profile-831456d9.css");
@import url("/assets/upload-8f2bf007.css");
@import url("/assets/circles-dc42c4b6.css");
@import url("/assets/review-513d30db.css");
@import url("/assets/public_profile-89fa3471.css");
@import url("/assets/link_contact-3445d6cf.css");
@import url("/assets/components/contact_choice-80488ab6.css");
@import url("/assets/authentication-4f166091.css");
@import url("/assets/landing-cb957da1.css");
@import url("/assets/admin-2ba0199a.css");
@import url("/assets/system_checks-122ec550.css");
@import url("/assets/onboarding-79ffb564.css");
@import url("/assets/buttons-12a59d4a.css");
@import url("/assets/notifications-1697d689.css");
@import url("/assets/sleek-5c86c97b.css");

/* Import handwritten font for taglines */
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400;500&display=swap");

/* Global Styles */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  line-height: 1.25;
}

a {
  color: #3b82f6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Flash Messages */
.flash {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideIn 0.3s ease-out;
}

.flash--notice {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.flash--alert {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.flash__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: inherit;
  margin-left: 1rem;
  padding: 0;
  line-height: 1;
}

.flash__close:hover {
  opacity: 0.7;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive flash messages */
@media (max-width: 480px) {
  .flash {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    max-width: none;
  }
}

/* Navigation Bar Styles */
.navbar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.navbar__brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.navbar__logo:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* Base logo styles */
.recard-logo {
  height: 2rem;
  width: auto;
  object-fit: contain;
}

.navbar__logo-image {
  /* Inherits from .recard-logo */
}

.navbar__logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar__tagline {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Caveat", cursive;
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.navbar__tagline::before {
  content: "✨";
  font-size: 1rem;
}

.navbar__menu {
  display: flex;
  align-items: center;
}

.navbar__user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar__welcome {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}

.navbar__dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.navbar__avatar {
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.navbar__dropdown-arrow {
  transition: transform 0.2s;
}

.navbar__dropdown-toggle:hover .navbar__dropdown-arrow {
  transform: rotate(180deg);
}

.navbar__dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  min-width: 12rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: all 0.2s ease;
  z-index: 1000;
}

.navbar__dropdown-menu--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

.navbar__dropdown-item:hover {
  background-color: #f3f4f6;
  text-decoration: none;
}

.navbar__dropdown-item--danger {
  color: #ef4444;
}

.navbar__dropdown-item--danger:hover {
  background-color: #fef2f2;
  color: #dc2626;
}

.navbar__dropdown-divider {
  margin: 0.5rem 0;
  border: none;
  height: 1px;
  background-color: #e5e7eb;
}

.navbar__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.25rem;
  background-color: #ef4444;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.625rem;
  line-height: 1;
}

/* Public Header Styles */
.public-header__title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.public-header__logo {
  /* Inherits from .recard-logo */
}

.public-header__tagline {
  font-size: 1.25rem;
  color: #6b7280;
  font-weight: 500;
  font-family: "Caveat", cursive;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.public-header__tagline::before {
  content: "✨";
  font-size: 1.125rem;
}

/* Auth Page Styles */
.auth-title-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.auth-tagline {
  font-size: 1.25rem;
  color: #f2f6ff;
  font-weight: 500;
  font-family: "Caveat", cursive;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.auth-tagline::before {
  content: "✨";
  font-size: 1.125rem;
}

/* Main content spacing */
.main-content {
  min-height: calc(100vh - 4rem);
}

.main-content--full {
  min-height: 100vh;
}

/* Responsive navbar */
@media (max-width: 768px) {
  .navbar__container {
    padding: 0 1rem;
  }

  .navbar__welcome {
    display: none;
  }

  .navbar__dropdown-menu {
    min-width: 10rem;
  }
}

@media (max-width: 480px) {
  .navbar__container {
    height: 3.5rem;
  }

  .navbar__logo {
    font-size: 1.25rem;
  }

  .navbar__dropdown-toggle {
    padding: 0.375rem 0.5rem;
  }

  .navbar__avatar {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.75rem;
  }
}

/* moved to buttons.css */

/* Voice modal and recorder */
.voice-modal { display:none; position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.voice-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.voice-modal__content { position: relative; margin: 0; background: #fff; border-radius: 8px; width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; padding: 16px; z-index: 1001; display: flex; flex-direction: column; gap: 12px; }
.voice-modal__header { display: flex; align-items: center; justify-content: space-between; }
.voice-modal__modes { display: flex; gap: 8px; }
.voice-modal__mode[aria-selected="true"] { background: var(--color-primary, #3b82f6); color: #fff; }
.voice-modal__recorder { display: grid; gap: 8px; }
.voice-note__actions { display:flex; gap: 8px; align-items: center; }
.voice-note__result { margin-top: 8px; white-space: pre-wrap; }

/* Inline voice recorder inside interaction modal */
.voice-inline { border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px; margin-top: 8px; background: #fff; }
.voice-inline__header { display:flex; align-items:center; justify-content:space-between; margin-bottom: 8px; }
.voice-inline__modes { display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-bottom: 8px; }
.mode-card { border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px; background: #fafafa; display:flex; flex-direction: column; gap:6px; }
.mode-card .voice-inline__mode { width: fit-content; }
.mode-caption { font-size: 0.9rem; color:#6b7280; }
.voice-inline__mode[aria-selected="true"] { background: var(--color-primary, #3b82f6); color: #fff; border-color: transparent; }
.voice-inline__controls { display:flex; gap:12px; align-items:center; flex-wrap: wrap; padding: 8px 0; }
.voice-inline__panel { border: 1px dashed #e5e7eb; border-radius: 8px; padding: 10px; background: #fdfdfd; }
.voice-inline__record { border-radius: 9999px; padding: 0.5rem 1rem; }
.voice-inline__reset { opacity: 0.9; }
.voice-inline__finish { border-radius: 9999px; padding: 0.5rem 1rem; }
.voice-inline__controls .button[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Spinner */
.spinner { display:inline-block; width: 1em; height: 1em; margin-left: 8px; border: 2px solid rgba(255,255,255,0.5); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Simple icon placeholders (using CSS shapes to avoid JS) */
.icon { display:inline-block; width: 1em; height: 1em; margin-right: 6px; vertical-align: -0.125em; }
.icon--mic { border-radius: 50%; background: #ef4444; }
.icon--reset { border: 2px solid #6b7280; border-radius: 2px; box-sizing: border-box; transform: rotate(0deg); }
.icon--finish { border-radius: 50%; background: #10b981; position: relative; }
.icon--finish::after { content: ""; position: absolute; left: 30%; top: 20%; width: 0.25em; height: 0.5em; border: solid #fff; border-width: 0 0.2em 0.2em 0; transform: rotate(45deg); }
.voice-inline__result { margin-top: 8px; white-space: pre-wrap; }
.voice-inline__help { display:grid; grid-template-columns: 1fr; row-gap: 4px; font-size: 0.9rem; color:#6b7280; margin-bottom: 8px; }

/* Interaction form header with record button */
.interaction-form__field-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.interaction-form__record { margin-left: auto; }

/* ==================== ENHANCED INTERACTION MODAL STYLES ==================== */
/* These styles enhance and override the base modal styles from contact_detail.css */

/* Modal Container with Animation */
.contact-detail__modal {
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Enhanced Overlay with Backdrop Blur */
.contact-detail__modal-overlay {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  transition: background 0.3s ease;
}

/* Enhanced Modal Content */
.contact-detail__modal-content {
  border-radius: 16px;
  max-width: 650px;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  animation: modalSlideUp 0.3s ease-out;
}

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

/* Enhanced Modal Header */
.contact-detail__modal-header {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  align-items: flex-start;
}

.contact-detail__modal-title-group {
  flex: 1;
  margin-right: 1rem;
}

.contact-detail__modal-title {
  font-size: 1.125rem;
  line-height: 1.4;
}

/* Enhanced Close Button */
.contact-detail__modal-close {
  background: white;
  border: 1px solid #e5e7eb;
  font-size: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  border-radius: 8px;
  flex-shrink: 0;
}

.contact-detail__modal-close:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: scale(1.05);
}

.contact-detail__modal-close:active {
  transform: scale(0.95);
}

/* Enhanced Modal Body */
.contact-detail__modal-body {
  padding: 1.25rem;
}

/* Interaction Detail Container */
.interaction-detail {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Meta Badges */
.interaction-detail__meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.contact-detail__scheduled-badge,
.contact-detail__followup-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.contact-detail__scheduled-badge {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.contact-detail__followup-badge {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #fcd34d;
}

.contact-detail__overdue-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Enhanced Section Styling */
.interaction-detail__section {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.875rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.interaction-detail__section:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.interaction-detail__section:last-of-type {
  margin-bottom: 0;
}

/* Enhanced Labels with Accent Line */
.interaction-detail__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.interaction-detail__label::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 12px;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 2px;
}

/* Enhanced Content Typography */
.interaction-detail__content {
  color: #1f2937;
  line-height: 1.6;
  font-size: 0.875rem;
}

.interaction-detail__content p {
  margin: 0 0 0.5rem 0;
}

.interaction-detail__content p:last-child {
  margin-bottom: 0;
}

/* Audio Player Styling */
.interaction-detail__content audio {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  outline: none;
}

.interaction-detail__content audio::-webkit-media-controls-panel {
  background-color: #f3f4f6;
  border-radius: 8px;
}

/* Enhanced Follow-up Reference Box */
.interaction-detail__followup-reference {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid #60a5fa;
  border-radius: 10px;
  padding: 0.875rem;
  padding-left: 1.125rem;
  margin-bottom: 0.75rem;
  position: relative;
  overflow: hidden;
}

.interaction-detail__followup-reference::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
}

.interaction-detail__followup-reference-label {
  font-weight: 700;
  color: #1e40af;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.interaction-detail__followup-reference-details {
  color: #1e3a8a;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  display: block;
}

.interaction-detail__followup-reference .interaction-detail__content {
  color: #1e40af;
  font-size: 0.875rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #93c5fd;
}

/* Enhanced Actions Area */
.interaction-detail__actions {
  padding-top: 1rem;
  border-top: 2px solid #e5e7eb;
  flex-wrap: wrap;
  align-items: center;
}

.interaction-detail__actions .button {
  flex-shrink: 0;
}

/* Enhanced Button Styling in Modal Context */
.interaction-detail__actions .button--small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.interaction-detail__actions .button--small:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.interaction-detail__actions .button--small:active {
  transform: translateY(0);
}

/* Enhanced danger button styling in modal */
.interaction-detail__actions .button--danger {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  font-weight: 600;
  margin-left: auto;
}

.interaction-detail__actions .button--danger:hover {
  background-color: #dc2626;
  color: white;
  border-color: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.2);
}

.interaction-detail__actions .button--danger:active {
  transform: translateY(0);
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
  .contact-detail__modal-content {
    max-width: calc(100vw - 2rem);
    border-radius: 12px;
  }

  .contact-detail__modal-header {
    padding: 1rem 1.25rem;
  }

  .contact-detail__modal-body {
    padding: 1rem;
  }

  .interaction-detail__section {
    padding: 0.75rem;
  }

  .interaction-detail__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .interaction-detail__actions .button--small {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-detail__modal {
    padding: 0.5rem;
  }

  .contact-detail__modal-header {
    padding: 0.875rem;
  }

  .contact-detail__modal-body {
    padding: 0.875rem;
  }

  .interaction-detail__label {
    font-size: 0.75rem;
  }

  .interaction-detail__content {
    font-size: 0.875rem;
  }
}

/* Smooth Custom Scrollbar for Modal */
.contact-detail__modal-content::-webkit-scrollbar {
  width: 8px;
}

.contact-detail__modal-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.contact-detail__modal-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.contact-detail__modal-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Modal Status Badge Styles */
.contact-detail__modal-status {
  margin-left: 0.5rem;
}

.contact-detail__modal-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin-left: 0.5rem;
}

.contact-detail__modal-status-badge--overdue {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
  border: 1px solid #fecaca;
  animation: pulseOverdue 2s ease-in-out infinite;
}

@keyframes pulseOverdue {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.contact-detail__modal-status-badge--upcoming {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  border: 1px solid #93c5fd;
}

/* Interaction Navigation Styles */
.interaction-detail__navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  position: relative;
}

.interaction-detail__navigation::after {
  content: 'Tip: Use ← → arrow keys';
  position: absolute;
  bottom: -1.5rem;
  right: 0;
  font-size: 0.75rem;
  color: #94a3b8;
  font-style: italic;
}

.interaction-detail__nav-button {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.interaction-detail__nav-button:hover:not(:disabled) {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.interaction-detail__nav-button:active:not(:disabled) {
  transform: translateY(0);
}

.interaction-detail__nav-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.interaction-detail__nav-counter {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  padding: 0.25rem 0.75rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

/* Hide keyboard hint on mobile since touch devices don't have arrow keys */
@media (max-width: 768px) {
  .interaction-detail__navigation::after {
    display: none;
  }
}

/* Navigation status indicators */
.interaction-detail__nav-status {
  display: inline-flex;
  align-items: center;
  margin-left: 0.375rem;
}

.interaction-detail__nav-status--overdue {
  color: #dc2626;
}

.interaction-detail__nav-status--upcoming {
  color: #1e40af;
}

/* Responsive navigation */
@media (max-width: 480px) {
  .interaction-detail__navigation {
    padding: 0.5rem;
    gap: 0.5rem;
  }
  
  .interaction-detail__nav-button {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .interaction-detail__nav-counter {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
  }
}
