@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Dancing+Script:wght@600&display=swap');

/* 
  Novatis AeroMarine Design System
  Safety & Compliance Digital Checklist
*/

:root {
  --color-primary: #004A99;
  --color-primary-dark: #002D5E;
  --color-primary-light: #E6F0FF;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-bg: #F0F2F5;
  --color-white: #FFFFFF;
  --color-border: #E2E8F0;
  --color-text: #1E293B;
  --color-text-muted: #64748B;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;

  /* UI Tokens */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --sidebar-width: 280px;
  --footer-height: 90px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  padding-bottom: var(--footer-height);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.section-title {
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-xs);
}

/* Layout */
.app-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-md);
  transition: padding-left 0.4s ease;
  position: relative;
}

@media (min-width: 1024px) {
  .app-container {
    padding-left: calc(var(--sidebar-width) + 60px);
    padding-right: 40px;
    max-width: 1400px;
  }
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
}

.menu-trigger-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 74, 153, 0.2);
  border-radius: 14px;
  color: var(--color-primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.menu-trigger-btn:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 74, 153, 0.2);
}

.menu-trigger-btn i {
  width: 20px;
  height: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.logo-circle {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Form Styles */
.metadata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
  border: 1px solid rgba(226, 232, 240, 0.6);
  position: relative;
  overflow: hidden;
}

.metadata-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

input, textarea, select {
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.95rem;
  transition: var(--transition);
  background: #fff;
  color: var(--color-text);
  appearance: none;
  cursor: pointer;
}

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

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 153, 0.1);
}

/* Checklist Accordion (<details>) */
.checklist-section {
  margin-bottom: var(--space-sm);
}

details {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: var(--space-sm);
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

details:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(0, 74, 153, 0.2);
}

summary {
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-white);
  transition: var(--transition);
}

summary:hover {
  background: rgba(248, 250, 252, 0.8);
}

details[open] summary {
  border-bottom: 1px solid var(--color-border);
  background: rgba(248, 250, 252, 1);
}

summary::-webkit-details-marker {
  display: none;
}

.summary-content {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.chevron {
  transition: transform 0.2s ease;
}

details[open] .chevron {
  transform: rotate(180deg);
}

.check-items {
  padding: var(--space-md);
}

.check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid #f1f1f1;
}

.check-item:last-child {
  border-bottom: none;
}

.item-info {
  flex: 1;
  padding-right: var(--space-md);
}

.item-title {
  font-weight: 500;
  display: block;
}

.item-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Custom Checkbox / Status Radios */
.status-group {
  display: flex;
  gap: 12px;
}

.status-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  background: white;
}

.status-btn input {
  display: none;
}

.status-btn i {
  font-size: 1.25rem;
  color: var(--color-border);
}

/* Colors for status buttons */
.status-btn.pass:hover, .status-btn.pass.active { border-color: var(--color-success); background: rgba(40, 167, 69, 0.1); }
.status-btn.pass.active i { color: var(--color-success); }

.status-btn.warn:hover, .status-btn.warn.active { border-color: var(--color-warning); background: rgba(255, 193, 7, 0.1); }
.status-btn.warn.active i { color: var(--color-warning); }

.status-btn.fail:hover, .status-btn.fail.active { border-color: var(--color-danger); background: rgba(220, 53, 69, 0.1); }
.status-btn.fail.active i { color: var(--color-danger); }

/* Field Notes */
.field-notes {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: var(--space-lg);
}

.field-notes textarea {
  width: 100%;
  min-height: 120px;
  margin-top: var(--space-sm);
  resize: vertical;
}

/* Fixed Footer */
.compliance-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--footer-height);
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-md);
  box-shadow: 0 -10px 20px rgba(0, 45, 94, 0.1);
  z-index: 2000;
  transition: padding-left 0.4s ease;
}

@media (min-width: 1024px) {
  .compliance-footer {
    padding-left: calc(var(--sidebar-width) + 20px);
  }
}

.footer-content {
  max-width: 900px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.signature-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.signature-box:hover {
  background: rgba(255, 255, 255, 0.2);
}

.report-btn {
  background: var(--color-success);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}

/* Responsiveness */
@media (max-width: 600px) {
  .app-container {
    padding: var(--space-sm);
  }
  
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  
  .footer-content {
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
  }
  
  .compliance-footer {
    height: auto;
    padding: 12px;
  }
  
  body {
    padding-bottom: 120px;
  }
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  backdrop-filter: blur(4px);
  padding: 20px;
}

.modal-content {
  background: var(--color-bg);
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
  padding: var(--space-md);
  background: white;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-modal {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
}

.report-body {
  padding: var(--space-md);
  max-height: 70vh;
  overflow-y: auto;
}

.report-summary-box {
  background: white;
  padding: var(--space-sm);
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-border);
}

.report-item-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f1f1;
}

.stat-pill {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.modal-footer {
  padding: var(--space-md);
  background: white;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: var(--space-sm);
}

@media print {
    body * { visibility: hidden; }
    .modal-content, .modal-content * { visibility: visible; }
    .modal-overlay { position: absolute; left: 0; top: 0; background: white !important; backdrop-filter: none; }
    .modal-footer, .close-modal { display: none; }
}

/* WOW Modal Design */
.modal-overlay {
  background: rgba(0, 15, 30, 0.6);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
}

.modal-content {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  animation: modalFloat 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalFloat {
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(240, 245, 255, 0.5));
  border-bottom: 1px solid rgba(0, 74, 153, 0.1);
  padding: 24px 32px;
}

.modal-footer {
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(0, 74, 153, 0.1);
}

/* Icon Buttons */
.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.icon-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Sidebar Drawer Styling */
.drawer {
  position: fixed;
  top: 15px;
  left: -320px;
  width: 290px;
  height: calc(100vh - 30px);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  z-index: 2500;
  border-radius: 0 24px 24px 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 20px 0 60px rgba(0, 45, 94, 0.1);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .drawer {
    left: 20px;
    top: 20px;
    height: calc(100vh - 40px);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 50px rgba(0, 45, 94, 0.05);
  }
  
  .drawer::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(0,74,153,0.3), rgba(255,255,255,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }

  .menu-trigger-btn {
    display: none !important;
  }

  .drawer-header #close-drawer {
    display: none;
  }
}

.drawer.open {
  left: 0;
}

.drawer-header {
  padding: 32px var(--space-md);
  background: linear-gradient(135deg, #001A3D 0%, #004A99 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 22px 22px 0 0;
  position: relative;
  overflow: hidden;
}

.drawer-header::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.drawer-header .icon-btn {
  color: white;
}

.drawer-content {
  padding: var(--space-md);
  flex: 1;
  overflow-y: auto;
}

.drawer-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 12px;
  margin-bottom: 6px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.drawer-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--color-primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  border-radius: 0 4px 4px 0;
}

.drawer-link:hover::before, .drawer-link.active::before {
  transform: scaleY(0.7);
}

.drawer-link:hover, .drawer-link.active {
  background: linear-gradient(to right, rgba(0, 74, 153, 0.08), rgba(0, 74, 153, 0.02));
  color: var(--color-primary);
  border-color: rgba(0, 74, 153, 0.1);
  transform: translateX(8px);
}

.drawer-link.active {
  background: linear-gradient(to right, rgba(0, 74, 153, 0.12), rgba(0, 74, 153, 0.04));
  box-shadow: 0 4px 15px rgba(0, 74, 153, 0.08);
}

.drawer-link i {
  color: var(--color-text-muted);
  width: 20px;
  transition: all 0.3s ease;
}

.drawer-link:hover i, .drawer-link.active i {
  color: var(--color-primary);
  transform: scale(1.2);
  filter: drop-shadow(0 0 5px rgba(0, 74, 153, 0.4));
}

.drawer-divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-md) 0;
}

.drawer-action-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  margin-bottom: 8px;
  transition: var(--transition);
}

.drawer-action-btn:hover {
  background: var(--color-bg);
  border-color: var(--color-primary);
}

.drawer-footer {
  padding: var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-bg);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid var(--color-white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.user-info {
  flex: 1;
  overflow: hidden;
}

.user-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text);
  margin: 0;
}

.user-role {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin: 0;
}

.drawer-version {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Beautiful Signature Enhancements */
.signature-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 260px;
    max-width: 100%;
}

@media (max-width: 1100px) {
    .signature-box {
        min-width: 200px;
        font-size: 0.75rem;
    }
}

.signature-box.signed {
    background: rgba(255, 255, 255, 0.95) !important;
    border-style: solid !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.signature-name {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 8px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.signature-box.signed .signature-name {
    opacity: 1;
    transform: translateY(0);
}

.stamp {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg) scale(2);
    border: 3px solid rgba(40, 167, 69, 0.4);
    color: rgba(40, 167, 69, 0.4);
    padding: 2px 8px;
    font-weight: 900;
    font-size: 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.signature-box.signed .stamp {
    opacity: 1;
    transform: translateY(-50%) rotate(-15deg) scale(1);
}

/* 
  NOVATIS AEROMARINE SECURITY WARNING SYSTEM
  Color Profile: Signal Yellow / Amber Gold (#F59E0B)
*/

.system-notice {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-50px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 20px 32px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  min-width: 380px;
}

.system-notice.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.notice-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.notice-content { flex: 1; }
.notice-label { display: block; font-size: 0.65rem; font-weight: 800; color: #F59E0B; text-transform: uppercase; }
.notice-message { font-size: 0.875rem; font-weight: 500; color: #F8FAFC; margin: 0; }

.notice-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #F59E0B;
  width: 100%;
  border-radius: 0 0 24px 24px;
  animation: progressTimer 4s linear forwards;
}

/* Box-Specific Warning Icon (Amber Gold) */
.box-warning-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid #F59E0B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E0B;
  z-index: 100;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  animation: pulseAmberSoft 2s infinite;
}

/* UI/UX Gaps for Buttons and Form Fields */
.check-item .box-warning-icon {
  right: 180px; /* Perfect gap from Pass/Warn/Fail buttons */
}

.form-group .box-warning-icon {
  right: 40px; /* Gap from dropdowns/date icons */
}

.box-warning-icon i { width: 14px; height: 14px; }

/* Protocol Header Icons */
.header-warning-icon {
  margin-left: 12px;
  color: #F59E0B;
  vertical-align: middle;
  animation: pulseAmberSoft 1.5s infinite;
}

/* Pulse Animations */
@keyframes pulseAmberSoft {
  0% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  70% { transform: translateY(-50%) scale(1.1); box-shadow: 0 0 15px 10px rgba(245, 158, 11, 0); }
  100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes progressTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.protocol-missing-flash {
  animation: pulseMissing 1.5s infinite;
  border-width: 2px !important;
}

@keyframes pulseMissing {
  0%, 100% { border-color: var(--color-border); }
  50% { border-color: #F59E0B; box-shadow: 0 0 15px rgba(245, 158, 11, 0.3); }
}

.signature-glow-amber {
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.5) !important;
  border-color: #F59E0B !important;
  transform: scale(1.02);
  transition: all 0.4s ease;
}

