* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #f57c00;
  --primary-dark: #d96c00;
  --primary-soft: rgba(245, 124, 0, 0.12);
  --text-main: #151515;
  --text-soft: #6b7280;
  --white: #ffffff;
  --border: rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.14);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.1);
}

html,
body {
  min-height: 100%;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(245, 124, 0, 0.13), transparent 30%),
    linear-gradient(135deg, #fff8f1 0%, #ffffff 45%, #fff3e6 100%);
  color: var(--text-main);
}

body {
  min-height: 100vh;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 28px;
}

.bg-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 320px;
  height: 320px;
  background: rgba(245, 124, 0, 0.18);
  top: -80px;
  right: -40px;
}

.glow-2 {
  width: 280px;
  height: 280px;
  background: rgba(255, 183, 77, 0.2);
  bottom: -70px;
  left: -60px;
}

.register-layout {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 56px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.brand-panel {
  position: relative;
  padding: 34px 42px 42px;
  background:
    linear-gradient(135deg, rgba(245, 124, 0, 0.98), rgba(255, 152, 0, 0.92)),
    linear-gradient(180deg, #f57c00, #ff9800);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.brand-panel::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  top: -120px;
  right: -120px;
}

.brand-panel::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  bottom: -80px;
  left: -60px;
}

.brand-content {
  position: relative;
  z-index: 1;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.brand-content h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 520px;
}

.brand-content p {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
}

.feature-list {
  display: grid;
  gap: 14px;
  max-width: 430px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 500;
}

.feature-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px;
  background: transparent;
}

.form-card {
  width: 100%;
  max-width: 470px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  padding: 34px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 24px;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.form-header h2 {
  font-size: 31px;
  line-height: 1.15;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
}

.form-header p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.status-message {
  margin: 0 0 18px;
  padding: 13px 15px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
}

.status-error {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.12);
}

.status-success {
  background: rgba(22, 163, 74, 0.08);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.12);
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.input-group label {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  transition: 0.25s ease;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.03);
}

.input-wrap:focus-within {
  border-color: rgba(245, 124, 0, 0.45);
  box-shadow: 0 0 0 4px rgba(245, 124, 0, 0.12);
}

.input-icon {
  font-size: 16px;
  line-height: 1;
  opacity: 0.7;
}

.register-form input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #111827;
  font-size: 15px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
}

.register-form input::placeholder {
  color: #9ca3af;
}

.register-btn {
  margin-top: 6px;
  min-height: 58px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, #f57c00, #ff9800);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: 0.28s ease;
  box-shadow: 0 14px 26px rgba(245, 124, 0, 0.28);
}

.register-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(245, 124, 0, 0.34);
}

.register-btn:active:not(:disabled) {
  transform: translateY(0);
}

.register-btn:disabled {
  opacity: 0.88;
  cursor: not-allowed;
}

.login-link {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-soft);
}

.login-link a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.login-link a:hover {
  text-decoration: underline;
}

.back-home-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  transition: 0.25s ease;
}

.back-home-bottom:hover {
  color: var(--primary);
}

.success-btn {
  background: linear-gradient(135deg, #16a34a, #22c55e) !important;
  box-shadow: 0 14px 26px rgba(34, 197, 94, 0.24) !important;
  cursor: default;
}

@media (max-width: 768px) {
  .page-shell {
    padding: 16px;
  }

  .register-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 24px;
  }

  .brand-panel {
    display: none;
  }

  .form-panel {
    padding: 20px;
    background: transparent;
  }

  .form-card {
    max-width: 100%;
    padding: 24px 20px;
    border-radius: 22px;
  }

  .form-header h2 {
    font-size: 26px;
  }
}