/**
 * Modern Auth UI - WonsBank
 * A stunning split-screen design with glassmorphism, animations, and modern UX
 */

/* ===== CSS Reset for Auth Pages ===== */
html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body,
html > body,
body.no-js {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh !important;
  opacity: 1 !important;
  overflow: visible !important;
  overflow-x: hidden !important;
  display: block !important;
  background: transparent !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  visibility: visible !important;
}

.page-wrapper {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100vh !important;
  align-items: stretch !important;
}

/* Hide old auth layout elements */
.page-auth,
.auth-card,
.auth-card__left,
.auth-card__right,
.auth-card__bg,
.page-auth__screen,
.page-auth__center,
.auth-logo:not(.auth-brand-logo .auth-logo):not(.auth-mobile-logo .auth-logo),
.auth-card__logo {
  display: none !important;
}

/* ===== CSS Variables ===== */
:root {
  --auth-primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --auth-secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --auth-accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --auth-glass-bg: rgba(255, 255, 255, 0.95);
  --auth-glass-border: rgba(255, 255, 255, 0.2);
  --auth-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --auth-shadow-xl: 0 32px 64px -12px rgba(0, 0, 0, 0.3);
  --auth-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --auth-glass-bg: rgba(30, 41, 59, 0.95);
  --auth-glass-border: rgba(255, 255, 255, 0.1);
}

/* ===== Page Layout ===== */
.modern-auth-page {
  min-height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
  background: var(--grey-light-color-1, #f8fafb);
}

[data-theme="dark"] .modern-auth-page {
  background: var(--prussian-blue-dark-100, #00040a);
}

/* Animated Background */
.auth-bg-animation {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.auth-bg-animation__gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(79, 172, 254, 0.1) 0%, transparent 70%);
}

.auth-bg-animation__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: auth-orb-float 20s ease-in-out infinite;
}

.auth-bg-animation__orb--1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.auth-bg-animation__orb--2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  bottom: 10%;
  right: -50px;
  animation-delay: -5s;
}

.auth-bg-animation__orb--3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  top: 40%;
  left: 30%;
  animation-delay: -10s;
}

@keyframes auth-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -30px) scale(1.1); }
  50% { transform: translate(-30px, 50px) scale(0.95); }
  75% { transform: translate(30px, 30px) scale(1.05); }
}

/* ===== Split Screen Layout ===== */
.modern-auth-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .modern-auth-container {
    grid-template-columns: 1fr;
  }
}

/* ===== Left Side - Brand Panel ===== */
.auth-brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  background: var(--auth-primary-gradient);
  position: relative;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .auth-brand-panel {
    display: none;
  }
}

.auth-brand-panel__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.auth-brand-panel__content {
  position: relative;
  z-index: 1;
}

.auth-brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.auth-brand-logo__icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-brand-logo__icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.auth-brand-logo__text {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.auth-brand-headline {
  max-width: 400px;
}

.auth-brand-headline__title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  letter-spacing: -0.03em;
}

.auth-brand-headline__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

/* Feature Cards */
.auth-brand-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.auth-feature-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--auth-transition);
}

.auth-feature-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(8px);
}

.auth-feature-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.auth-feature-card__content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}

.auth-feature-card__content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Social Proof */
.auth-brand-social {
  position: relative;
  z-index: 1;
}

.auth-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-social-avatars {
  display: flex;
}

.auth-social-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  margin-left: -12px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.auth-social-avatar:first-child {
  margin-left: 0;
}

.auth-social-avatar:nth-child(2) {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.auth-social-avatar:nth-child(3) {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.auth-social-proof__text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
}

.auth-social-proof__text strong {
  color: #fff;
  font-weight: 700;
}

/* ===== Right Side - Form Panel ===== */
.auth-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
}

@media (max-width: 640px) {
  .auth-form-panel {
    padding: 1.5rem;
  }
}

/* Mobile Logo (visible only on mobile) */
.auth-mobile-logo {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .auth-mobile-logo {
    display: flex;
  }
}

.auth-mobile-logo__icon {
  width: 48px;
  height: 48px;
  background: var(--auth-primary-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-mobile-logo__icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.auth-mobile-logo__text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black-color, #15232e);
}

[data-theme="dark"] .auth-mobile-logo__text {
  color: #f1f5f9;
}

/* Form Card */
.auth-form-card {
  width: 100%;
  max-width: 480px;
  background: var(--auth-glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid var(--auth-glass-border);
  box-shadow: var(--auth-shadow-lg);
  padding: 2.5rem;
  animation: auth-card-enter 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@media (max-width: 640px) {
  .auth-form-card {
    padding: 1.75rem;
    border-radius: 20px;
  }
}

@keyframes auth-card-enter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Form Header */
.auth-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-form-header__icon {
  width: 72px;
  height: 72px;
  background: var(--auth-primary-gradient);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 12px 24px -8px rgba(102, 126, 234, 0.4);
  animation: auth-icon-pulse 2s ease-in-out infinite;
}

@keyframes auth-icon-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 24px -8px rgba(102, 126, 234, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 16px 32px -8px rgba(102, 126, 234, 0.5); }
}

.auth-form-header__icon svg {
  width: 36px;
  height: 36px;
  color: #fff;
}

.auth-form-header__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--black-color, #15232e);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .auth-form-header__title {
  color: #f1f5f9;
}

.auth-form-header__subtitle {
  font-size: 1rem;
  color: var(--grey-color-1, #8697a8);
  margin: 0;
}

[data-theme="dark"] .auth-form-header__subtitle {
  color: #94a3b8;
}

/* ===== Modern Form Elements ===== */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Input Groups */
.auth-input-group {
  position: relative;
}

.auth-input-group__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black-color, #15232e);
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .auth-input-group__label {
  color: #e2e8f0;
}

.auth-input-group__wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-group__icon {
  position: absolute;
  left: 1rem;
  width: 20px;
  height: 20px;
  color: var(--grey-color-1, #8697a8);
  pointer-events: none;
  transition: var(--auth-transition);
  z-index: 2;
}

.auth-input-group__input {
  width: 100%;
  height: 56px;
  padding: 0 1rem 0 3rem;
  background: var(--grey-light-color-1, #f8fafb);
  border: 2px solid transparent;
  border-radius: 14px;
  font-size: 1rem;
  color: var(--black-color, #15232e);
  transition: var(--auth-transition);
  box-sizing: border-box;
  font-family: inherit;
}

[data-theme="dark"] .auth-input-group__input {
  background: rgba(30, 41, 59, 0.5);
  color: #f1f5f9;
}

.auth-input-group__input::placeholder {
  color: var(--grey-color-1, #8697a8);
}

.auth-input-group__input:hover {
  background: var(--grey-light-color-2, #eef3f5);
}

.auth-input-group__input:focus {
  outline: none;
  background: #fff;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

[data-theme="dark"] .auth-input-group__input:focus {
  background: rgba(30, 41, 59, 0.8);
  border-color: #667eea;
}

.auth-input-group__input:focus + .auth-input-group__icon,
.auth-input-group__wrapper:focus-within .auth-input-group__icon {
  color: #667eea;
}

.auth-input-group__input--error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.auth-input-group__input--error:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* Password Toggle */
.auth-input-group__toggle {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--grey-color-1, #8697a8);
  transition: var(--auth-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-input-group__toggle:hover {
  color: var(--black-color, #15232e);
}

[data-theme="dark"] .auth-input-group__toggle:hover {
  color: #f1f5f9;
}

.auth-input-group__toggle svg {
  width: 20px;
  height: 20px;
}

/* Error Message */
.auth-input-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: #ef4444;
  animation: auth-shake 0.4s ease;
}

.auth-input-error svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@keyframes auth-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Checkbox & Remember Row */
.auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--grey-color-3, #44566c);
  user-select: none;
}

[data-theme="dark"] .auth-checkbox {
  color: #94a3b8;
}

.auth-checkbox__input {
  width: 20px;
  height: 20px;
  border: 2px solid var(--grey-light-color-3, #eaedf0);
  border-radius: 6px;
  appearance: none;
  cursor: pointer;
  transition: var(--auth-transition);
  position: relative;
  margin: 0;
}

[data-theme="dark"] .auth-checkbox__input {
  border-color: #475569;
  background: rgba(30, 41, 59, 0.5);
}

.auth-checkbox__input:checked {
  background: var(--auth-primary-gradient);
  border-color: transparent;
}

.auth-checkbox__input:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.auth-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #667eea;
  text-decoration: none;
  transition: var(--auth-transition);
}

.auth-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* Submit Button */
.auth-submit-btn {
  width: 100%;
  height: 56px;
  background: var(--auth-primary-gradient);
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: var(--auth-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.auth-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(102, 126, 234, 0.5);
}

.auth-submit-btn:hover::before {
  opacity: 1;
}

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

.auth-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.auth-submit-btn__spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-spin 0.8s linear infinite;
}

@keyframes auth-spin {
  to { transform: rotate(360deg); }
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--grey-color-1, #8697a8);
  font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--grey-light-color-3, #eaedf0);
}

[data-theme="dark"] .auth-divider::before,
[data-theme="dark"] .auth-divider::after {
  background: #334155;
}

/* Social Login */
.auth-social-login {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.auth-social-btn {
  height: 48px;
  background: var(--grey-light-color-1, #f8fafb);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--auth-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

[data-theme="dark"] .auth-social-btn {
  background: rgba(30, 41, 59, 0.5);
}

.auth-social-btn:hover {
  background: #fff;
  border-color: var(--grey-light-color-3, #eaedf0);
  transform: translateY(-2px);
}

[data-theme="dark"] .auth-social-btn:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: #475569;
}

.auth-social-btn svg {
  width: 20px;
  height: 20px;
}

/* Footer */
.auth-form-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-light-color-3, #eaedf0);
}

[data-theme="dark"] .auth-form-footer {
  border-color: #334155;
}

.auth-form-footer__text {
  font-size: 0.9375rem;
  color: var(--grey-color-1, #8697a8);
}

[data-theme="dark"] .auth-form-footer__text {
  color: #94a3b8;
}

/* ===== Register Form Specifics ===== */
.auth-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 480px) {
  .auth-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Terms Checkbox */
.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--grey-light-color-1, #f8fafb);
  border-radius: 12px;
  font-size: 0.875rem;
  color: var(--grey-color-3, #44566c);
  line-height: 1.5;
}

[data-theme="dark"] .auth-terms {
  background: rgba(30, 41, 59, 0.5);
  color: #94a3b8;
}

.auth-terms__checkbox {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  border: 2px solid var(--grey-light-color-3, #eaedf0);
  border-radius: 5px;
  appearance: none;
  cursor: pointer;
  transition: var(--auth-transition);
}

[data-theme="dark"] .auth-terms__checkbox {
  border-color: #475569;
}

.auth-terms__checkbox:checked {
  background: var(--auth-primary-gradient);
  border-color: transparent;
}

.auth-terms__checkbox:checked::after {
  content: '';
  display: block;
  margin: 2px 0 0 5px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.auth-terms a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

.auth-terms a:hover {
  text-decoration: underline;
}

/* ===== Error Alert ===== */
.auth-error-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  color: #ef4444;
  font-size: 0.9375rem;
  animation: auth-shake 0.4s ease;
}

.auth-error-alert svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.auth-error-alert ul {
  margin: 0;
  padding-left: 1.25rem;
}

.auth-error-alert li {
  margin-bottom: 0.25rem;
}

.auth-error-alert li:last-child {
  margin-bottom: 0;
}

/* ===== Theme Toggle ===== */
.auth-theme-toggle {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--auth-glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--auth-glass-border);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-color-1, #8697a8);
  transition: var(--auth-transition);
  z-index: 100;
  padding: 0;
}

.auth-theme-toggle:hover {
  color: var(--black-color, #15232e);
  transform: scale(1.05);
}

[data-theme="dark"] .auth-theme-toggle:hover {
  color: #f1f5f9;
}

.auth-theme-toggle svg {
  width: 22px;
  height: 22px;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 640px) {
  .auth-form-header__title {
    font-size: 1.5rem;
  }
  
  .auth-form-header__icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
  }
  
  .auth-form-header__icon svg {
    width: 28px;
    height: 28px;
  }
  
  .auth-input-group__input {
    height: 52px;
    font-size: 16px;
  }
  
  .auth-submit-btn {
    height: 52px;
  }
  
  .auth-social-login {
    grid-template-columns: 1fr;
  }
}

/* ===== Focus Visible for Accessibility ===== */
.auth-submit-btn:focus-visible,
.auth-input-group__input:focus-visible,
.auth-social-btn:focus-visible,
.auth-theme-toggle:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* ===== Final Override ===== */
body {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.page-wrapper > * {
  opacity: 1 !important;
  visibility: visible !important;
}
