/* Found Shelf 1:1 Styles */
html {
  background-color: #f3f4f6;
  font-family: 'Rubik', system-ui, -apple-system, sans-serif;
}

#top-loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #970584;
  z-index: 9999;
  transition: width 0.25s ease, opacity 0.2s ease;
  opacity: 0;
}
#top-loader.active {
  width: 75%;
  opacity: 1;
}
#top-loader.done {
  width: 100%;
  opacity: 0;
}

#toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 380px;
}

.fs-toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 0.375rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: toastIn 0.2s ease;
}
.fs-toast.success { background: #2e9705; }
.fs-toast.error { background: #dc2626; }
.fs-toast.info { background: #970584; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.base-card {
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #e1e3e6;
  box-shadow: rgba(54, 28, 93, 0.04) -10px 18px 32px;
}

.nav-logo {
  width: 80px;
}
@media screen and (max-width: 810px) {
  .nav-logo { width: 70px; }
}

.footer-container {
  box-shadow: 0px 0px 39px -15px rgba(0, 0, 0, 0.75);
}

.fs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.375rem;
  padding: 0.625rem 2rem;
  transition: all 0.15s ease;
  cursor: pointer;
}
.fs-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.fs-btn-primary { background: #970584ba; color: #fff; }
.fs-btn-primary:hover:not(:disabled) { background: #970584; }
.fs-btn-primaryAlt { background: #fff; color: #970584ba; border: 1.5px solid #970584ba; }
.fs-btn-primaryAlt:hover:not(:disabled) { background: #97058429; }
.fs-btn-secondary { background: #2e9705eb; color: #fff; }
.fs-btn-secondary:hover:not(:disabled) { background: #2e9705; }
.fs-btn-secondaryAlt { background: #fff; color: #2e9705eb; border: 1.5px solid #2e9705eb; }
.fs-btn-secondaryAlt:hover:not(:disabled) { background: #ecfdf5; }
.fs-btn-red { background: #dc2626; color: #fff; }
.fs-btn-red:hover:not(:disabled) { background: #b91c1c; }
.fs-btn-gray { background: #e5e7eb; color: #374151; }
.fs-btn-gray:hover:not(:disabled) { background: #d1d5db; }

.fs-input, .fs-select, .fs-textarea {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background: #fff;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  color: #1f2937;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fs-input, .fs-select { height: 3rem; }
.fs-input:focus, .fs-select:focus, .fs-textarea:focus {
  outline: none;
  border-color: #970584ba;
  box-shadow: 0 0 0 3px rgba(151, 5, 132, 0.14);
}
.fs-input.is-error, .fs-select.is-error, .fs-textarea.is-error {
  border-color: #ef4444;
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.fs-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.fs-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.fs-modal-box {
  background: #fff;
  border-radius: 0.5rem;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.carousel-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .carousel-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .carousel-track { grid-template-columns: 1fr; }
}

.rate-card {
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
}
.rate-card:hover { border-color: #97058482; }
.rate-card.selected {
  border-color: #2e9705;
  box-shadow: 0 0 0 3px rgba(46, 151, 5, 0.16);
}

.print-only { display: none; }
@media print {
  .noPrint { display: none !important; }
  .print-only { display: block !important; }
  body { background: #fff !important; }
  .base-card { box-shadow: none !important; border: none !important; }
}
