/* ========================================
   Atomic Jolt Authentication Pages
   Consolidated & Simplified Styles
   ======================================== */

/* ========================================
   Page Layout
   ======================================== */
.auth-page {
  min-height: 100vh;
  background: var(--color-white);
  font-family: var(--font-family);
  position: relative;
  overflow-x: hidden;
}

/* Auth Wrapper - Dynamic positioning closer to top */
.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: max(3rem, calc(100vh * 0.01)) 1rem 2rem 1rem;
  overflow-y: auto;
}

/* Auth Container - Consistent for all forms */
.auth-container {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xlarge);
  padding: var(--space-xxl) var(--space-xxl);
  width: 100%;
  max-width: 550px;
  animation: slideUp 0.4s ease-out;
}

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

/* Decorative Background Circles */
.auth-wrapper::before,
.auth-wrapper::after {
  content: '';
  position: fixed;
  background: var(--color-yellow);
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
}

.auth-wrapper::before {
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
}

.auth-wrapper::after {
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
}

/* ========================================
   Logo & Titles
   ======================================== */
.auth-logo {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.auth-logo img,
.auth-logo .logo {
  height: 48px;
  width: auto;
}

.auth-title {
  font-size: var(--h4-desktop);
  font-weight: 600;
  color: var(--color-black);
  text-align: center;
  margin: 0 0 var(--space-xl) 0;
  line-height: var(--lh-heading-4);
}

/* ========================================
   Form Elements
   ======================================== */
.auth-form {
  width: 100%;
}

.auth-form.is-hidden {
  display: none;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--body-tiny);
  font-weight: 500;
  color: var(--color-neutral-dark);
  margin-bottom: var(--space-xs);
  line-height: var(--lh-body);
}

.form-label .optional {
  color: var(--color-neutral);
  font-weight: 400;
}

/* Input Fields */
.form-control {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--body-regular);
  font-family: var(--font-family);
  border: 2px solid var(--color-neutral-light);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-black);
  transition: all var(--transition-base);
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.form-control::placeholder {
  color: var(--color-neutral);
  opacity: 1;
}

.form-control:hover:not(:focus) {
  border-color: var(--color-neutral);
}

.form-control:focus {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px rgba(255, 221, 0, 0.1);
  background: var(--color-off-white);
}

.form-control:disabled {
  background: var(--color-neutral-lightest);
  border-color: var(--color-neutral-light);
  color: var(--color-neutral);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Error & Success States */
.form-control.error {
  border-color: var(--color-error);
  background: var(--color-error-light);
}

.form-control.error:focus {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}

.form-control.success {
  border-color: var(--color-success);
  background: var(--color-success-light);
}

.form-control.success:focus {
  border-color: var(--color-success);
  box-shadow: 0 0 0 3px rgba(2, 122, 72, 0.1);
}

/* Checkbox Styling */
.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.form-check-group {
  margin-bottom: var(--space-md);
}

.form-check-input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-right: var(--space-sm);
  margin-top: 2px;
  border: 2px solid var(--color-neutral-light);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-base);
}

.form-check-input:checked {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='black' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
}

.form-check-input:hover {
  border-color: var(--color-neutral);
}

.form-check-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 221, 0, 0.1);
}

.form-check-label {
  font-size: var(--body-tiny);
  color: var(--color-neutral-dark);
  line-height: var(--lh-body);
  cursor: pointer;
}

.form-check-label a {
  color: var(--color-black);
  text-decoration: underline;
  font-weight: 500;
}

.form-check-label a:hover {
  color: var(--color-yellow-dark);
}

/* Password Strength Indicator */
.password-strength {
  margin-top: var(--space-xs);
  font-size: var(--body-tiny);
  font-weight: 500;
  display: none;
  padding: var(--space-xxs) var(--space-xs);
  border-radius: var(--radius-sm);
  background: var(--color-neutral-lightest);
}

/* Password Requirements Validation */
.password-requirements .valid {
  color: var(--color-success);
  transition: color var(--transition-base);
}

.password-requirements .invalid {
  color: var(--color-neutral);
  transition: color var(--transition-base);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--body-regular);
  font-weight: 600;
  font-family: var(--font-family);
  line-height: var(--lh-body);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  outline: none;
}

/* Primary Button - Brand Yellow */
.btn-primary {
  background: var(--color-yellow);
  color: var(--color-black);
}

.btn-primary:hover {
  background: var(--color-yellow-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  background: var(--color-yellow-light);
  color: var(--color-neutral);
  cursor: not-allowed;
  transform: none;
  opacity: 0.6;
}

/* Loading button with spinner */
.btn-primary:disabled.loading {
  position: relative;
  padding-left: var(--space-xxl);
}

.btn-primary:disabled.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: var(--space-md);
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid var(--color-neutral);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translateY(-50%);
}

@keyframes spin {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}

/* Block Button */
.btn-block {
  width: 100%;
}

/* SSO Button */
.btn-sso {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-white);
  border: 2px solid var(--color-neutral-light);
  border-radius: var(--radius-md);
  color: var(--color-black);
  font-weight: 500;
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-sso:hover {
  background: var(--color-off-white);
  border-color: var(--color-yellow);
  transform: translateY(-1px);
  box-shadow: var(--shadow-small);
}

.btn-sso img {
  width: 20px;
  height: 20px;
}

/* ========================================
   SSO Section
   ======================================== */
.divider {
  position: relative;
  text-align: center;
  margin: var(--space-xl) 0 var(--space-lg) 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-neutral-light);
}

.divider span {
  position: relative;
  padding: 0 var(--space-md);
  background: var(--color-white);
  color: var(--color-neutral);
  font-size: var(--body-tiny);
}

.sso-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.btn-sso.is-loading,
.btn-sso[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-sso.is-loading {
  position: relative;
}

.btn-sso.is-loading::after {
  content: '';
  position: absolute;
  right: var(--space-sm);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--color-neutral-light);
  border-top-color: var(--color-neutral-dark);
  animation: spin 1s linear infinite;
}

.btn-sso__label {
  pointer-events: none;
}

.sso-empty {
  margin-top: var(--space-xl);
  padding: var(--space-md);
  background: var(--color-off-white);
  border: 1px dashed var(--color-neutral-light);
  border-radius: var(--radius-md);
  color: var(--color-neutral);
  font-size: var(--body-tiny);
  text-align: center;
}

.sso-empty__text {
  display: block;
}

/* ========================================
   Messages & Feedback
   ======================================== */
.message {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: var(--body-tiny);
  font-weight: 500;
  animation: slideDown 0.3s ease-out;
}

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

.message.success {
  background: var(--color-success-light);
  color: var(--color-success);
  border: 1px solid var(--color-success);
}

.message.error {
  background: var(--color-error-light);
  color: var(--color-error);
  border: 1px solid var(--color-error);
}

.message.info {
  background: var(--color-off-white);
  color: var(--color-neutral-dark);
  border: 1px solid var(--color-yellow);
}

/* ========================================
   Auth Links
   ======================================== */
.auth-links {
  margin-top: var(--space-lg);
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-neutral-lightest);
}

.auth-link-text {
  color: var(--color-neutral);
  font-size: var(--body-tiny);
}

.auth-link {
  color: var(--color-black);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-base);
}

.auth-link:hover {
  color: var(--color-yellow-dark);
  border-bottom-color: var(--color-yellow);
}

/* Special Links */
.forgot-password-group {
  text-align: center;
  margin-top: var(--space-md);
  margin-bottom: 0;
}

.forgot-link {
  display: inline-block;
  font-size: var(--body-tiny);
  color: var(--color-neutral);
  text-decoration: none;
  font-weight: 400;
  transition: all var(--transition-base);
}

.forgot-link:hover {
  color: var(--color-yellow-dark);
  text-decoration: underline;
}

.link-separator {
  display: inline-block;
  margin: 0 var(--space-xs);
  color: var(--color-neutral);
  font-size: var(--body-tiny);
}

/* ========================================
   Footer
   ======================================== */
.auth-footer {
  text-align: center;
  padding: var(--space-lg);
  color: var(--color-neutral);
  font-size: var(--body-tiny);
  margin-top: auto;
}

.auth-footer p {
  margin: 0;
}

/* ========================================
   Email Verification Pages
   ======================================== */
.verification-success,
.verification-error,
.verification-pending {
  text-align: center;
}

.success-icon,
.error-icon,
.info-icon {
  margin: 0 auto var(--space-lg) auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-icon svg,
.error-icon svg,
.info-icon svg {
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.verification-message {
  color: var(--color-neutral-dark);
  font-size: var(--body-regular);
  line-height: var(--lh-body);
  margin: 0 0 var(--space-xl) 0;
  text-align: center;
}

.verification-message strong {
  color: var(--color-black);
  font-weight: 600;
}

.verification-instructions {
  color: var(--color-neutral);
  font-size: var(--body-regular);
  line-height: var(--lh-body);
  margin: 0 0 var(--space-lg) 0;
  text-align: center;
}

.verification-tips {
  background: var(--color-off-white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
  text-align: left;
}

.verification-tips h3 {
  font-size: var(--body-regular);
  font-weight: 600;
  color: var(--color-black);
  margin: 0 0 var(--space-sm) 0;
}

.verification-tips ul {
  margin: 0;
  padding-left: var(--space-lg);
  list-style: disc;
}

.verification-tips li {
  color: var(--color-neutral-dark);
  font-size: var(--body-tiny);
  line-height: var(--lh-body);
  margin-bottom: var(--space-xs);
}

.verification-tips li:last-child {
  margin-bottom: 0;
}

.resend-section {
  margin-top: var(--space-lg);
}

.resend-section .btn {
  margin-bottom: var(--space-sm);
}

.verification-actions {
  width: 100%;
}

.verification-actions .divider {
  margin: var(--space-lg) 0;
}

/* Secondary button style */
.btn-secondary {
  background: var(--color-white);
  color: var(--color-black);
  border: 2px solid var(--color-neutral-light);
}

.btn-secondary:hover {
  background: var(--color-off-white);
  border-color: var(--color-yellow);
  transform: translateY(-1px);
  box-shadow: var(--shadow-small);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-secondary:disabled {
  background: var(--color-neutral-lightest);
  color: var(--color-neutral);
  border-color: var(--color-neutral-light);
  cursor: not-allowed;
  transform: none;
  opacity: 0.6;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
  .auth-wrapper {
    padding: 3rem 1rem 2rem 1rem;
  }

  .auth-container {
    padding: var(--space-xl) var(--space-lg);
  }

  .auth-title {
    font-size: var(--h4-mobile);
  }

  .sso-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .auth-wrapper {
    padding: 2rem 1rem;
  }

  .auth-container {
    padding: var(--space-lg) var(--space-lg);
    max-width: 100%;
  }

  .form-control {
    font-size: 16px; /* Prevent zoom on iOS */
  }

  .auth-wrapper::before,
  .auth-wrapper::after {
    display: none; /* Hide decorative circles on mobile */
  }
}

/* Adjust for medium-height viewports */
@media (max-height: 800px) {
  .auth-wrapper {
    padding-top: max(2.5rem, calc(100vh * 0.08));
  }
}

/* Ensure form is always visible on short viewports */
@media (max-height: 700px) {
  .auth-wrapper {
    padding-top: 2rem;
  }

  .auth-container {
    padding: var(--space-lg) var(--space-xxl);
  }

  .auth-logo {
    margin-bottom: var(--space-lg);
  }

  .auth-title {
    margin-bottom: var(--space-lg);
  }

  .form-group {
    margin-bottom: var(--space-md);
  }
}

/* For very short viewports */
@media (max-height: 600px) {
  .auth-wrapper {
    padding-top: 1.5rem;
  }

  .auth-container {
    padding: var(--space-md) var(--space-lg);
  }

  .form-group {
    margin-bottom: var(--space-sm);
  }
}

/* ========================================
   Email Verification Prompt
   ======================================== */
/* Email Verification Prompt */
.verification-prompt {
  display: none; /* Hidden by default - CSP blocks inline styles */
  text-align: center;
  padding: 2rem 1rem;
}

.verification-prompt.is-visible {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

.verification-icon {
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
}

.verification-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-black);
}

.verification-text {
  color: var(--color-neutral);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
}

.verification-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-neutral-lightest);
}

/* Resend Section */
.resend-section {
  margin-top: 1.5rem;
}

.resend-instructions {
  text-align: left;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: var(--color-off-white);
  border-radius: 0.375rem;
  border: 1px solid var(--color-neutral-lightest);
}

.resend-instructions h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-black);
}

.resend-instructions ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.resend-instructions li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-neutral);
}

.resend-instructions li::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: var(--color-yellow);
  font-weight: bold;
}

.resend-button {
  margin-top: 1rem;
}

.resend-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.5;
  display: none;
}

.resend-message.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.resend-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

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

/* Responsive */
@media (max-width: 640px) {
  .verification-prompt {
    padding: 1.5rem 0.75rem;
  }

  .verification-title {
    font-size: 1.25rem;
  }

  .verification-text {
    font-size: 0.875rem;
  }
}

/* ========================================
   Passkey Authentication
   ======================================== */
.passkey-section {
  margin-top: var(--space-lg);
}

.btn-passkey {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-black);
  color: var(--color-off-white);
  border: 2px solid var(--color-black);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: var(--body-regular);
  font-family: var(--font-family);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-passkey:hover {
  background-color: transparent;
  color: var(--color-black);
}

.btn-passkey:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-passkey svg {
  flex-shrink: 0;
}

/* ========================================
   Mobile-First Passkey Section
   ======================================== */
.mobile-passkey-section {
  display: none; /* Hidden by default, shown via JS on mobile */
  margin-bottom: var(--space-xl);
}

.mobile-passkey-section.visible {
  display: block;
}

.btn-passkey-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background-color: var(--color-yellow);
  color: var(--color-black);
  border: 2px solid var(--color-black);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.1rem;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-passkey-primary:hover {
  background-color: var(--color-black);
  color: var(--color-yellow);
}

.btn-passkey-primary:active {
  transform: translateY(1px);
}

.btn-passkey-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.mobile-passkey-divider {
  text-align: center;
  margin-top: var(--space-lg);
  color: var(--color-neutral);
  font-size: var(--body-tiny);
}

.passkey-icon {
  flex-shrink: 0;
}

/* Show mobile passkey section on mobile, hide desktop section */
@media (max-width: 768px) {
  .mobile-passkey-section.visible {
    display: block;
  }

  /* Hide the inline passkey section on mobile (use top mobile one instead) */
  .passkey-section {
    display: none !important;
  }
}

/* Hide mobile passkey section on desktop */
@media (min-width: 769px) {
  .mobile-passkey-section {
    display: none !important;
  }
}

/* ========================================
   Error Pages (403, 404, etc.)
   With full site chrome for logged-in users
   ======================================== */

/* Error page content within application layout */
.error-page-content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: var(--space-xl);
}

.error-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-large);
  padding: var(--space-xxl);
  width: 100%;
  max-width: 500px;
  text-align: center;
  animation: slideUp 0.4s ease-out;
}

.error-icon {
  margin: 0 auto var(--space-lg) auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.error-icon svg {
  animation: scaleIn 0.5s ease-out;
}

.error-card-title {
  font-size: var(--h3-desktop);
  font-weight: 600;
  color: var(--color-black);
  margin: 0 0 var(--space-md) 0;
  line-height: var(--lh-heading-3);
}

.error-card-message {
  color: var(--color-neutral-dark);
  font-size: var(--body-regular);
  line-height: var(--lh-body);
  margin: 0 0 var(--space-xl) 0;
}

.error-card-actions {
  display: flex;
  flex-direction: row;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.error-card-actions .btn {
  min-width: 140px;
}

.error-card-help {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-neutral-lightest);
  color: var(--color-neutral);
  font-size: var(--body-tiny);
}

.error-card-help a {
  color: var(--color-black);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-base);
}

.error-card-help a:hover {
  color: var(--color-yellow-dark);
  border-bottom-color: var(--color-yellow);
}

/* Error page responsive */
@media (max-width: 768px) {
  .error-page-content {
    padding: var(--space-lg);
    min-height: calc(100vh - 100px);
  }

  .error-card {
    padding: var(--space-xl) var(--space-lg);
  }

  .error-card-title {
    font-size: var(--h4-desktop);
  }

  .error-card-actions {
    flex-direction: column;
  }

  .error-card-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .error-page-content {
    padding: var(--space-md);
  }

  .error-card {
    padding: var(--space-lg);
  }

  .error-card-title {
    font-size: var(--h4-mobile);
  }
}

/* Legacy error page styles (standalone, non-authenticated) */
.error-page .error-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: max(3rem, calc(100vh * 0.1)) 1rem 2rem 1rem;
  overflow-y: auto;
}

.error-page .error-container {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xlarge);
  padding: var(--space-xxl) var(--space-xxl);
  width: 100%;
  max-width: 550px;
  text-align: center;
  animation: slideUp 0.4s ease-out;
}

/* Decorative Background Circles for standalone error page */
.error-page .error-wrapper::before,
.error-page .error-wrapper::after {
  content: '';
  position: fixed;
  background: var(--color-yellow);
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
}

.error-page .error-wrapper::before {
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
}

.error-page .error-wrapper::after {
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
}
