html { scroll-behavior: smooth; }

@keyframes saFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.sa-fade-in { animation: saFadeIn .8s ease forwards; }
.sa-observe { opacity: 0; }

/* Button polish */
.btn-primary { transition: transform .15s ease, box-shadow .2s ease; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.btn-outline { transition: background-color .2s ease, transform .15s ease; }
.btn-outline:hover { transform: translateY(-1px); }

/* Hero overlay helper */
.sa-hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.75) 30%, rgba(255,255,255,.9) 100%);
}

/* Form validation animations */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
  20%, 40%, 60%, 80% { transform: translateX(8px); }
}

/* Error field styling */
input.border-red-500,
select.border-red-500,
textarea.border-red-500 {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Error message animation */
.error {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.error.opacity-100 {
  opacity: 1;
}

/* Admin styles removed */



  border-color: #0a0a0a;
  color: #0a0a0a;
}

.tab-content {
  animation: fadeIn 0.3s ease;
}

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

/* Admin table/list styling */
#submissionsList > div {
  transition: all 0.2s ease;
}

#submissionsList > div:hover {
  border-color: #0ea5e9;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

/* Admin input focus states */
#dashboard input:focus,
#dashboard textarea:focus,
#dashboard select:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}


