*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --green: #55c951;
    --green-dark: #3aaa36;
    --green-light: rgba(85,201,81,0.12);
    --blue: #007AFF;
    --radius: 13.5px;
    --bg: #f2f5f2;
    --card: #ffffff;
    --text: #1a1f1a;
    --muted: #7a8a7a;
    --border: #dde8dd;
  }

  body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 65% 55% at 10% 15%, rgba(85,201,81,0.16) 0%, transparent 60%),
      radial-gradient(ellipse 45% 50% at 90% 85%, rgba(85,201,81,0.10) 0%, transparent 60%);
    z-index: 0;
    animation: bgShift 9s ease-in-out infinite alternate;
  }

  @keyframes bgShift {
    0% { transform: scale(1); }
    100% { transform: scale(1.04) translate(-1%, 1%); }
  }

  .logo_wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo_wrapper button{
    padding: 8px;
    background-color: transparent;
    color: #55c951; 
    border: 2px solid #55c951;
    border-radius: var(--radius);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all 0.22s;
    position: absolute;
    top: 24px;
    right: 24px;
  }
  #logo{
    max-width: 50px;
    margin-bottom: 24px;
    cursor: pointer;
  }

  .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(880px, 95vw);
    min-height: 580px;
    border-radius: calc(var(--radius) * 2);
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,0.12), 0 4px 16px rgba(85,201,81,0.1);
    animation: cardIn 0.65s cubic-bezier(.22,1,.36,1) both;
  }

  @keyframes cardIn {
    from { opacity: 0; transform: translateY(28px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* LEFT PANEL — green only */
  .panel-visual {
    background: linear-gradient(150deg, #2db82a 0%, #55c951 50%, #7dd67a 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    overflow: hidden;
    color: white;
  }

  .panel-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle 220px at 15% 85%, rgba(255,255,255,0.18), transparent),
      radial-gradient(circle 140px at 85% 15%, rgba(255,255,255,0.12), transparent);
  }

  .blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    animation: float 6s ease-in-out infinite;
  }
  .blob-1 { width:180px; height:180px; background:white; top:-50px; right:-50px; animation-delay:0s; }
  .blob-2 { width:110px; height:110px; background:#2db82a; bottom:50px; left:10px; animation-delay:2s; }
  .blob-3 { width:55px;  height:55px;  background:white; bottom:170px; right:25px; animation-delay:4s; }

  @keyframes float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
  }

  .visual-content { position: relative; z-index: 1; text-align: center; }

  .illustration {
    width: 190px; height: 190px;
    margin: 0 auto 28px;
    filter: drop-shadow(0 12px 32px rgba(0,0,0,0.18));
    animation: illustFloat 4s ease-in-out infinite;
  }

  @keyframes illustFloat {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
  }

  .panel-visual h2 {
    font-size: 24px; font-weight: 700;
    line-height: 1.25; margin-bottom: 12px;
  }

  .panel-visual p {
    font-size: 14px; opacity: 0.88;
    line-height: 1.65; max-width: 210px; margin: 0 auto;
  }

  /* RIGHT PANEL */
  .panel-form {
    background: var(--card);
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Square logo */
  .logo-area {
    display: flex; align-items: center;
    gap: 11px; margin-bottom: 30px;
  }

  .logo-square {
    width: 46px; height: 46px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(85,201,81,0.35);
  }

  .logo-square svg { width: 24px; height: 24px; }

  .logo-text {
    font-weight: 700; font-size: 19px;
    color: var(--text); letter-spacing: -0.2px;
  }
  .logo-text span { color: var(--green-dark); }

  /* Tabs */
  .tabs {
    display: flex; background: var(--bg);
    border-radius: var(--radius); padding: 4px; margin-bottom: 28px;
  }

  .tab-btn {
    flex: 1; padding: 10px; border: none;
    background: transparent;
    border-radius: calc(var(--radius) - 3px);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px; font-weight: 400;
    color: var(--muted); cursor: pointer;
    transition: all 0.28s cubic-bezier(.22,1,.36,1);
  }

  .tab-btn.active {
    background: white; color: var(--text);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.09);
  }

  /* Forms */
  .form-panel { display: none; animation: fadeUp 0.35s ease both; }
  .form-panel.active { display: block; }

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

  .form-title { font-size: 21px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
  .form-subtitle { font-size: 13px; color: var(--muted); margin-bottom: 22px; }

  .field { margin-bottom: 15px; }

  .field label {
    display: block; font-size: 11.5px; font-weight: 700;
    color: var(--text); margin-bottom: 6px;
    letter-spacing: 0.4px; text-transform: uppercase;
  }

  .input-wrap { position: relative; }

  .input-wrap .icon {
    position: absolute; left: 13px; top: 50%;
    transform: translateY(-50%);
    color: var(--muted); width: 15px; height: 15px; pointer-events: none;
  }

  .field input {
    width: 100%;
    padding: 12px 14px 12px 38px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px; color: var(--text);
    background: #fafcfa; transition: all 0.2s; outline: none;
  }

  .field input:focus {
    border-color: var(--green); background: white;
    box-shadow: 0 0 0 4px rgba(85,201,81,0.14);
  }

  .field input::placeholder { color: #b0bdb0; }

  .toggle-pw {
    position: absolute; right: 13px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    color: var(--muted); padding: 0; display: flex;
  }

  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

  .options-row {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-bottom: 18px; font-size: 13px;
  }

  .checkbox-wrap {
    display: flex; align-items: center;
    gap: 7px; color: var(--muted); cursor: pointer;
  }
  .checkbox-wrap input[type=checkbox] { accent-color: var(--green); width:15px; height:15px; }

  /* Blue only for small text links — not structural */
  .forgot-link { color: var(--blue); text-decoration: none; font-size: 13px; opacity: 0.75; }
  .forgot-link:hover { opacity: 1; text-decoration: underline; }

  /* Green primary button */
  .btn-primary {
    width: 100%; padding: 13px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: white; border: none;
    border-radius: var(--radius);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all 0.22s;
  }

  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(85,201,81,0.42); }
  .btn-primary:active { transform: translateY(0); }

  .divider {
    display: flex; align-items: center;
    gap: 12px; margin: 16px 0;
    color: var(--muted); font-size: 12px;
  }
  .divider::before, .divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
  }

  .btn-social {
    width: 100%; padding: 11px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: white;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px; color: var(--text);
    cursor: pointer; transition: all 0.2s;
  }
  .btn-social:hover { border-color: var(--green); background: var(--green-light); }

  .terms-text { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.6; }
  .terms-text a { color: var(--blue); text-decoration: none; opacity: 0.75; }
  .terms-text a:hover { opacity: 1; text-decoration: underline; }

  .pw-strength { display: flex; gap: 4px; margin-top: 6px; }
  .pw-bar { flex: 1; height: 3px; border-radius: 99px; background: var(--border); transition: background 0.3s; }
  .pw-bar.weak   { background: #f04e4e; }
  .pw-bar.medium { background: #f0a040; }
  .pw-bar.strong { background: var(--green); }

  @media (max-width: 620px) {
    .container { grid-template-columns: 1fr; }
    .panel-visual { display: none; }
    .panel-form { padding: 34px 26px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
  }