    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: Inter, Arial, sans-serif;
      background: #f5f7fb;
      color: #1f1f1f;
    }

    .auth-page {
      min-height: 100vh;
      display: grid;
      place-items: center;
      padding: 20px;
    }

    .auth-shell {
      width: 100%;
      max-width: 980px;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      background: #fff;
      border: 1px solid #e6eaf2;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 12px 40px rgba(16, 24, 40, 0.08);
    }

    .auth-left {
      padding: 36px;
      background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 28px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .logo {
      width: 52px;
      height: 52px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.16);
      color: white;
      display: grid;
      place-items: center;
      font-weight: 800;
      font-size: 22px;
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .brand .title {
      font-size: 24px;
      font-weight: 800;
      line-height: 1.1;
    }

    .brand .subtitle {
      font-size: 14px;
      opacity: 0.88;
      margin-top: 4px;
    }

    .hero h1 {
      margin: 0 0 10px;
      font-size: 34px;
      line-height: 1.1;
    }

    .hero p {
      margin: 0;
      font-size: 15px;
      line-height: 1.6;
      max-width: 420px;
      opacity: 0.95;
    }

    .hero-card {
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 18px;
      padding: 18px;
      backdrop-filter: blur(8px);
    }

    .hero-card strong {
      display: block;
      font-size: 16px;
      margin-bottom: 6px;
    }

    .hero-card span {
      font-size: 14px;
      opacity: 0.95;
      line-height: 1.5;
    }

    .auth-right {
      padding: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .auth-box {
      width: 100%;
      max-width: 390px;
    }

    .toggle {
      display: flex;
      background: #eef3fb;
      border-radius: 14px;
      padding: 4px;
      margin-bottom: 22px;
      gap: 4px;
    }

    .toggle button {
      flex: 1;
      border: none;
      outline: none;
      padding: 11px 14px;
      border-radius: 12px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      background: transparent;
      color: #1f2937;
      transition: 0.15s ease;
    }

    .toggle button.active {
      background: #1a73e8;
      color: #fff;
      box-shadow: 0 8px 18px rgba(26, 115, 232, 0.22);
    }

    .form-title {
      margin: 0 0 6px;
      font-size: 26px;
      font-weight: 800;
    }

    .form-subtitle {
      margin: 0 0 22px;
      color: #6b7280;
      font-size: 14px;
      line-height: 1.5;
    }

    .form {
      display: none;
      flex-direction: column;
      gap: 14px;
    }

    .form.active {
      display: flex;
    }

    .field label {
      display: block;
      margin-bottom: 6px;
      font-size: 13px;
      font-weight: 700;
      color: #374151;
    }

    .field input {
      width: 100%;
      border: 1px solid #dbe3ef;
      border-radius: 12px;
      padding: 12px 14px;
      font-size: 14px;
      outline: none;
      background: #fff;
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .field input:focus {
      border-color: #1a73e8;
      box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.12);
    }

    .remember-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: #4b5563;
      margin-top: -2px;
    }

    .remember-row a {
      color: #1a73e8;
      text-decoration: none;
      font-weight: 600;
    }

    .submit-btn {
      border: none;
      outline: none;
      width: 100%;
      padding: 12px 16px;
      border-radius: 12px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      background: #1a73e8;
      color: #fff;
      box-shadow: 0 10px 24px rgba(26, 115, 232, 0.22);
      transition: transform 0.15s ease, background 0.15s ease;
      margin-top: 4px;
    }

    .submit-btn:hover {
      transform: translateY(-1px);
      background: #1669d4;
    }

    .helper {
      margin-top: 14px;
      font-size: 13px;
      color: #6b7280;
      text-align: center;
    }

    .helper a {
      color: #1a73e8;
      text-decoration: none;
      font-weight: 700;
      cursor: pointer;
    }

    .message {
      display: none;
      margin-top: 12px;
      padding: 11px 12px;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 600;
    }

    .message.success {
      display: block;
      background: #ecfdf3;
      color: #067647;
      border: 1px solid #b7ebc6;
    }

    .message.error {
      display: block;
      background: #fef3f2;
      color: #b42318;
      border: 1px solid #fecdca;
    }

    @media (max-width: 840px) {
      .auth-shell {
        grid-template-columns: 1fr;
      }

      .auth-left {
        padding: 28px;
      }

      .auth-right {
        padding: 28px;
      }

      .hero h1 {
        font-size: 28px;
      }
    }

    @media (max-width: 480px) {
      .auth-page {
        padding: 10px;
      }

      .auth-left,
      .auth-right {
        padding: 20px;
      }

      .brand .title {
        font-size: 20px;
      }

      .hero h1 {
        font-size: 24px;
      }
    }