@font-face {
  font-family: "Noto Sans";
  src: asset-url("/assets/NotoSans-Regular-1d2f3585.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: asset-url("/assets/Inter-Regular-d09d67ef.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: asset-url("/assets/Roboto-Regular-8fdaf4bb.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: asset-url("/assets/SourceSans3-Regular-03b1eb16.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: asset-url("/assets/OpenSans-Regular-22420d45.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --font-display: "Fraunces", "Times New Roman", serif;
}

body {
  font-family: var(--font-sans);
}

.font-display {
  font-family: var(--font-display);
}

.link-primary {
  color: var(--brand-primary, #2563eb);
  font-weight: 600;
  text-decoration: underline;
}

.visible-bullets {
  list-style: disc;
  list-style-position: outside;
  padding-left: 1.25rem;
}

.visible-bullets li::marker {
  color: #f8fafc;
}

.tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tooltip-button {
  display: inline-flex;
  height: 1.1rem;
  width: 1.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid #cbd5f5;
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.tooltip-content {
  position: absolute;
  left: 0;
  right: auto;
  top: 1.6rem;
  min-width: 14rem;
  max-width: 18rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 0.6rem 0.75rem;
  font-size: 0.75rem;
  color: #334155;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 10;
}

.tooltip-content--left {
  left: 0;
  right: auto;
}

.tooltip:hover .tooltip-content,
.tooltip:focus-within .tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lightbox-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}

.lightbox-dialog::backdrop {
  background: rgba(15, 23, 42, 0.5);
}

.lightbox-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 94vw;
  max-height: 94vh;
}

.lightbox-image {
  display: block;
  max-width: 94vw;
  max-height: 94vh;
  border-radius: 0.75rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  height: 2rem;
  width: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(15, 23, 42, 0.2);
  border-radius: 9999px;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-0.02em);
  color: #334155;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #f8fafc;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  padding: 0.35rem 0.6rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, opacity 150ms ease;
  text-shadow: 0 2px 10px rgba(15, 23, 42, 0.6);
}

.lightbox-nav--prev {
  left: 0.75rem;
}

.lightbox-nav--next {
  right: 0.75rem;
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.plan-card {
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.plan-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.plan-card--selected {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.4), 0 20px 55px rgba(37, 99, 235, 0.2);
}

.plan-card--dark.plan-card--selected {
  border-color: #dbeafe;
  box-shadow: 0 0 0 4px rgba(147, 197, 253, 0.85), 0 30px 80px rgba(59, 130, 246, 0.45);
}

select.rounded-xl {
  height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

body {
  background: radial-gradient(circle at top, #f3f6fb 0%, #e9eef5 45%, #eef2f7 100%);
  color: #0f172a;
}

.turbo-progress-bar,
turbo-progress-bar {
  display: none !important;
}

main {
  animation: fade-up 0.6s ease both;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

label {
  color: #334155;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
select,
textarea {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.6rem 0.75rem;
}

#registration-form input,
#registration-form select,
#registration-form textarea {
  font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes notification-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.notification-pulse {
  animation: notification-pulse 3s ease-out infinite;
}

@keyframes admin-support-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.admin-support-pulse {
  animation: admin-support-pulse 3s ease-out infinite;
}

dialog.support-dialog {
  margin: auto;
}

.message-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.message-expanded {
  -webkit-line-clamp: unset;
}

.priority-select option[value="low"] {
  color: #16a34a;
}

.priority-select option[value="normal"] {
  color: #2563eb;
}

.priority-select option[value="high"] {
  color: #dc2626;
}
