/* mashaer-split-auth.css */
.split-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(480px, 40vw) 1fr;
}

.split-form-pane {
  background: var(--surface);
  display: grid;
  place-items: center;
  padding: 40px 32px;
  position: relative;
  z-index: 10;
  box-shadow: 16px 0 45px rgba(73, 43, 29, 0.04);
}

.split-form-container {
  width: 100%;
  max-width: 380px;
  animation: fadeUp 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.split-form-header {
  margin-bottom: 36px;
}

.split-form-header .brand-mark {
  margin-bottom: 24px;
}

.split-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.split-copy {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.split-form-body {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.split-form-footer {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.split-visual {
  position: relative;
  background:
    linear-gradient(160deg, rgba(217, 79, 69, 0.35), transparent 30%),
    linear-gradient(25deg, rgba(15, 159, 142, 0.2), transparent 34%),
    linear-gradient(180deg, #2a1623 0%, #1b1019 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
  color: #ffffff;
}

/* Decorative background elements for the visual side */
.split-visual::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(217, 154, 43, 0.15), rgba(225, 29, 72, 0.1), rgba(15, 159, 142, 0.12), rgba(217, 154, 43, 0.15));
  filter: blur(60px);
}

.split-visual-content {
  position: relative;
  z-index: 1;
  max-width: 540px;
  animation: fadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.split-visual-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #ffffff;
}

.split-visual-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 40px;
  line-height: 1.6;
}

/* A floating decorative metric card to showcase the UI */
.split-promo-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 20px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.split-promo-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-gold));
  color: #ffffff;
  display: grid;
  place-items: center;
}

.split-promo-text strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.split-promo-text span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Utilities */
.w-full { width: 100%; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-sm { font-size: 13px; color: var(--muted); }
.text-link { color: var(--accent); font-weight: 700; text-decoration: none; transition: color 160ms ease; }
.text-link:hover { color: var(--accent-strong); }

@media (max-width: 960px) {
  .split-layout {
    grid-template-columns: 1fr;
  }
  .split-visual {
    display: none;
  }
}